mirror of https://github.com/apache/cloudstack.git
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:
parent
289c8a09ea
commit
ea442fa81f
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue