Skip to content

Commit 2a175a2

Browse files
committed
CLOUDSTACK-6608:OVS distributed firewall: default ACL rule is not
getting applied when a tier in VPC is created. fix ensures, VpcRoutingPolicyUpdate is send when network rules are programmed when network tier in VPC is created
1 parent 3515c39 commit 2a175a2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,12 @@ public boolean applyACLItemsToNetwork(long networkId, List<NetworkACLItemVO> rul
491491
foundProvider = true;
492492
s_logger.debug("Applying NetworkACL for network: " + network.getId() + " with Network ACL service provider");
493493
handled = element.applyNetworkACLs(network, rules);
494-
if (handled)
494+
if (handled) {
495+
// publish message on message bus, so that network elements implementing distributed routing
496+
// capability can act on the event
497+
_messageBus.publish(_name, "Network_ACL_Replaced", PublishScope.LOCAL, network);
495498
break;
499+
}
496500
}
497501
if (!foundProvider) {
498502
s_logger.debug("Unable to find NetworkACL service provider for network: " + network.getId());

0 commit comments

Comments
 (0)