mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-27 22:09:40 +00:00
bgp_vrf_netns: swap the order of netns destruction
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
2c805e6cf6
commit
4b1f7a62db
@ -142,8 +142,8 @@ def teardown_module(module):
|
||||
tgen = get_topogen()
|
||||
# move back r1-eth0 to default VRF
|
||||
# delete VRF r1-cust1
|
||||
cmds = ['ip netns delete {0}-cust1',
|
||||
'ip netns exec {0}-cust1 ip link set {0}-eth0 netns 1']
|
||||
cmds = ['ip netns exec {0}-cust1 ip link set {0}-eth0 netns 1',
|
||||
'ip netns delete {0}-cust1']
|
||||
for cmd in cmds:
|
||||
tgen.net['r1'].cmd(cmd.format('r1'))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user