You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2013/02/06 03:43:28 UTC

[33/50] [abbrv] git commit: refs/heads/storage_refactor - CLOUDSTACK-1167

CLOUDSTACK-1167

     remove arptables rules after VM is stopped


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

Branch: refs/heads/storage_refactor
Commit: db71d3da366f79d9cdb71b2837a6617d8f33f978
Parents: 9d134f0
Author: anthony <an...@cloud.com>
Authored: Tue Feb 5 15:07:29 2013 -0800
Committer: anthony <an...@cloud.com>
Committed: Tue Feb 5 15:07:29 2013 -0800

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/vmops |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/db71d3da/scripts/vm/hypervisor/xenserver/vmops
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/vmops b/scripts/vm/hypervisor/xenserver/vmops
index 21c73ac..db6f6d6 100755
--- a/scripts/vm/hypervisor/xenserver/vmops
+++ b/scripts/vm/hypervisor/xenserver/vmops
@@ -594,6 +594,7 @@ def destroy_network_rules_for_vm(session, args):
             util.SMlog("Ignoring failure to delete  chain " + vmchain_default)
     
     destroy_ebtables_rules(vmchain)
+    destroy_arptables_rules(vmchain)
     
     try:
         util.pread2(['iptables', '-F', vmchain])