mirror of https://github.com/apache/cloudstack.git
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 (networkOfferingIsConfiguredForExternalNetworking(networkOfferingId) != networkOfferingIsConfiguredForExternalNetworking(oldNetworkOfferingId)
|
||||
&& !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 (!checkForNonStoppedVmInNetwork(network.getId())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue