Commit 39c589b3 authored by nanahira's avatar nanahira

fix del

parent 59420ce9
...@@ -3,4 +3,15 @@ source {{ansible_user_dir}}/nextgen-network/scripts/utility.sh ...@@ -3,4 +3,15 @@ source {{ansible_user_dir}}/nextgen-network/scripts/utility.sh
iptables -t mangle -F NEXTGEN_SWITCH iptables -t mangle -F NEXTGEN_SWITCH
## restore mark
{% for plan in routePlans %}
ip rule del pref 400 fwmark {{plan.destMark}} lookup {{plan.destMark}}
restore_mark_switch -D {{plan.destMark}}
{% endfor %}
{% for gw in gateways %}
{% if gw.selectionMark > 0 %}
restore_mark_switch -D {{gw.selectionMark}}
{% endif %}
{% endfor %}
true true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment