Skip to content

Commit 4ba07b6

Browse files
MOS CIGerrit Code Review
MOS CI
authored and
Gerrit Code Review
committed
Merge "[OVN][migration] Fix cleanup stage for DVR case and fips"
2 parents 3b09d81 + 565db6a commit 4ba07b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rockoon/cli/ovs_ovn_migration.py

+1
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ def cleanup_linux_netns(script_args):
527527
EXIT_CODE=0
528528
for ns in $(egrep 'qrouter-|qdhcp-|snat-|fip-' <(cut -d' ' -f1 <($IP_NETNS))); do
529529
for link in $(cut -d: -f2 <(grep -v LOOPBACK <($IP_NETNS exec $ns ip -o link show))); do
530+
link=${link%%@*}
530531
$IP_NETNS exec $ns ip l delete $link || ovs-vsctl ${OVS_DB_SOCK} --if-exists del-port br-int $link
531532
done
532533
if [[ -n $(grep -v LOOPBACK <($IP_NETNS exec $ns ip -o link show)) ]]; then

0 commit comments

Comments
 (0)