cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject git commit: updated refs/heads/4.3 to 2f2a2dc
Date Wed, 22 Jan 2014 05:55:00 GMT
Updated Branches:
  refs/heads/4.3 d5e0dcd2a -> 2f2a2dcd4


CLOUDSTACK-5924: updating regex to get vm names exactly from ebtables chains


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

Branch: refs/heads/4.3
Commit: 2f2a2dcd4656b49da33b884af6f1f8918d1354f3
Parents: d5e0dcd
Author: jayapal <jayapal@apache.org>
Authored: Wed Jan 22 10:49:41 2014 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Wed Jan 22 11:24:23 2014 +0530

----------------------------------------------------------------------
 scripts/vm/network/security_group.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2f2a2dcd/scripts/vm/network/security_group.py
----------------------------------------------------------------------
diff --git a/scripts/vm/network/security_group.py b/scripts/vm/network/security_group.py
index a7c64b0..1d94de3 100755
--- a/scripts/vm/network/security_group.py
+++ b/scripts/vm/network/security_group.py
@@ -700,7 +700,7 @@ def cleanup_rules():
                     logging.debug("vm " + vm_name + " is not running or paused, cleaning
up iptable rules")
                     cleanup.append(vm_name)
 
-        chainscmd = """ebtables-save | awk '/:i/ { gsub(/(^:|-(in|out))/, "") ; print $1}'"""
+        chainscmd = """ebtables-save | awk '/:i/ { gsub(/(^:|-(in|out|ips))/, "") ; print
$1}'"""
         chains = execute(chainscmd).split('\n')
         for chain in chains:
             if 1 in [ chain.startswith(c) for c in ['r-', 'i-', 's-', 'v-'] ]:


Mime
View raw message