Updated Branches:
refs/heads/master 9d134f0f1 -> db71d3da3
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/master
Commit: db71d3da366f79d9cdb71b2837a6617d8f33f978
Parents: 9d134f0
Author: anthony <[email protected]>
Authored: Tue Feb 5 15:07:29 2013 -0800
Committer: anthony <[email protected]>
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])