cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 55111e2
Date Thu, 08 May 2014 10:28:24 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 3515c39ca -> 55111e228


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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2a175a2b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2a175a2b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2a175a2b

Branch: refs/heads/master
Commit: 2a175a2b02aa39e2fccaabdb263e8eb45078ec33
Parents: 3515c39
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Thu May 8 15:41:21 2014 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Thu May 8 15:58:02 2014 +0530

----------------------------------------------------------------------
 server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2a175a2b/server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java b/server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java
index ad47df1..d808c3f 100644
--- a/server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java
+++ b/server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java
@@ -491,8 +491,12 @@ public class NetworkACLManagerImpl extends ManagerBase implements NetworkACLMana
             foundProvider = true;
             s_logger.debug("Applying NetworkACL for network: " + network.getId() + " with
Network ACL service provider");
             handled = element.applyNetworkACLs(network, rules);
-            if (handled)
+            if (handled) {
+                // publish message on message bus, so that network elements implementing
distributed routing
+                // capability can act on the event
+                _messageBus.publish(_name, "Network_ACL_Replaced", PublishScope.LOCAL, network);
                 break;
+            }
         }
         if (!foundProvider) {
             s_logger.debug("Unable to find NetworkACL service provider for network: " + network.getId());


Mime
View raw message