mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
e659751a8a
commit
435aefec15
@ -3795,6 +3795,14 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V
|
|||||||
s_logger.debug("Router " + router.getInstanceName() + " is stop pending, so not sending apply " + typeString + " commands to the backend");
|
s_logger.debug("Router " + router.getInstanceName() + " is stop pending, so not sending apply " + typeString + " commands to the backend");
|
||||||
continue;
|
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 {
|
try {
|
||||||
result = applier.execute(network, router);
|
result = applier.execute(network, router);
|
||||||
connectedRouters.add(router);
|
connectedRouters.add(router);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user