mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Upgrading a network that has Network offering SRX/F5 inline mode to a network offering that has all service provided by VR does not give proper error message: Hence correcting the error message
This commit is contained in:
parent
2914985837
commit
fe460fac43
@ -4640,7 +4640,7 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||||||
if (networkOfferingId != oldNetworkOfferingId) {
|
if (networkOfferingId != oldNetworkOfferingId) {
|
||||||
if (networkOfferingIsConfiguredForExternalNetworking(networkOfferingId) != networkOfferingIsConfiguredForExternalNetworking(oldNetworkOfferingId)
|
if (networkOfferingIsConfiguredForExternalNetworking(networkOfferingId) != networkOfferingIsConfiguredForExternalNetworking(oldNetworkOfferingId)
|
||||||
&& !changeCidr) {
|
&& !changeCidr) {
|
||||||
throw new InvalidParameterValueException("Can't guarantee guest network CIDR is unchanged after updating network!");
|
throw new InvalidParameterValueException("Updating network failed since guest CIDR needs to be changed!");
|
||||||
}
|
}
|
||||||
if (changeCidr) {
|
if (changeCidr) {
|
||||||
if (!checkForNonStoppedVmInNetwork(network.getId())) {
|
if (!checkForNonStoppedVmInNetwork(network.getId())) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user