CLOUDSTACK-5254: If VR is not upgraded, leave firewall rule in Active state. Rule will be applied when VR is upgraded

This commit is contained in:
Kishan Kavala 2013-12-24 16:34:03 +05:30
parent 289c8a09ea
commit ea442fa81f
1 changed files with 8 additions and 0 deletions

View File

@ -3719,6 +3719,14 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V
typeString + " commands to the backend");
continue;
}
if (!checkRouterVersion(router)){
//Rules will be applied after VR is upgraded
s_logger.debug("Router " + router.getInstanceName() + " requires upgrade, so not sending apply " +
typeString + " commands to the backend");
continue;
}
try {
result = applier.execute(network, router);
connectedRouters.add(router);