We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b09d81 + 565db6a commit 4ba07b6Copy full SHA for 4ba07b6
rockoon/cli/ovs_ovn_migration.py
@@ -527,6 +527,7 @@ def cleanup_linux_netns(script_args):
527
EXIT_CODE=0
528
for ns in $(egrep 'qrouter-|qdhcp-|snat-|fip-' <(cut -d' ' -f1 <($IP_NETNS))); do
529
for link in $(cut -d: -f2 <(grep -v LOOPBACK <($IP_NETNS exec $ns ip -o link show))); do
530
+ link=${link%%@*}
531
$IP_NETNS exec $ns ip l delete $link || ovs-vsctl ${OVS_DB_SOCK} --if-exists del-port br-int $link
532
done
533
if [[ -n $(grep -v LOOPBACK <($IP_NETNS exec $ns ip -o link show)) ]]; then
0 commit comments