Commit 1e68ce2b authored by nanahira's avatar nanahira

add flush for ocserv

parent 419b9190
...@@ -19,6 +19,6 @@ ip addr del "$localRubbishAddress" dev "$dev" ...@@ -19,6 +19,6 @@ ip addr del "$localRubbishAddress" dev "$dev"
{{ansible_user_dir}}/nextgen-network/scripts/predown.sh {{ansible_user_dir}}/nextgen-network/scripts/predown.sh
{{ansible_user_dir}}/nextgen-network/scripts/postup.sh {{ansible_user_dir}}/nextgen-network/scripts/postup.sh
echo -e "interface $dev type tunnel rxcost $metric faraway true link-quality true \nquit" | nc ::1 33123 echo -e "flush interface ${USERNAME}\ninterface $dev type tunnel rxcost $metric faraway true link-quality true \nquit" | nc ::1 33123
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