mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-1167
remove arptables rules after VM is stopped
This commit is contained in:
parent
9d134f0f19
commit
db71d3da36
@ -594,6 +594,7 @@ def destroy_network_rules_for_vm(session, args):
|
|||||||
util.SMlog("Ignoring failure to delete chain " + vmchain_default)
|
util.SMlog("Ignoring failure to delete chain " + vmchain_default)
|
||||||
|
|
||||||
destroy_ebtables_rules(vmchain)
|
destroy_ebtables_rules(vmchain)
|
||||||
|
destroy_arptables_rules(vmchain)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
util.pread2(['iptables', '-F', vmchain])
|
util.pread2(['iptables', '-F', vmchain])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user