You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3caef2b
Browse filesBrowse the repository at this point in the historyBrowse files
Jayapal
committed
CLOUDSTACK-5278 Fixed cleaning up egress default rules on VR and SRX
1. Egress default policy rules is send to the firewall provider. It is up to the
provider to configure the rules.
2. The default policy rules are send for both allow and deny default policy.
3. On network shutdown rules for delete are send.
4. For VR and SRX, by default deny the traffic. So no default rule to deny traffic is required.
if (!_firewallMgr.applyFirewallRules(firewallEgressRulesToApply, false, caller)) {
1107
1107
s_logger.warn("Failed to reapply firewall Egress rule(s) as a part of network id=" + networkId + " restart");
1108
1108
success = false;
1109
1109
}
1110
-
}
1111
1110
1112
1111
// apply port forwarding rules
1113
1112
if (!_rulesMgr.applyPortForwardingRulesForNetwork(networkId, false, caller)) {
@@ -2668,6 +2667,21 @@ private boolean shutdownNetworkResources(long networkId, Account caller, long ca
2668
2667
s_logger.debug("Releasing " + firewallEgressRules.size() + " firewall egress rules for network id=" + networkId + " as a part of shutdownNetworkRules");
0 commit comments