mirror of https://github.com/apache/cloudstack.git
bug CS-15654 Restarting guest network fails with exception
in basic zone when NetScaler is providing EIP and ELB services, NetscalerElement should have no action to take on implement and shutdown of the network
This commit is contained in:
parent
8c53b79cfe
commit
f64a52a3f9
|
|
@ -161,6 +161,11 @@ StaticNatServiceProvider {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (isBasicZoneNetwok(guestConfig)) {
|
||||
// in basic zone there is nothing to be implemented/shutdown on the NetScaler appliance
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
return manageGuestNetworkWithExternalLoadBalancer(true, guestConfig);
|
||||
} catch (InsufficientCapacityException capacityException) {
|
||||
|
|
@ -185,6 +190,11 @@ StaticNatServiceProvider {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (isBasicZoneNetwok(guestConfig)) {
|
||||
// in basic zone there is nothing to be implemented/shutdown on the NetScaler appliance
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
return manageGuestNetworkWithExternalLoadBalancer(false, guestConfig);
|
||||
} catch (InsufficientCapacityException capacityException) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue