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:
Murali Reddy 2012-08-02 18:49:18 +05:30
parent 8c53b79cfe
commit f64a52a3f9
1 changed files with 10 additions and 0 deletions

View File

@ -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) {