Skip to content

Commit

Permalink
Merge pull request #111 from pguibert6WIND/bgp_vrf_netns_swap_destroy
Browse files Browse the repository at this point in the history
bgp_vrf_netns: swap the order of netns destruction
  • Loading branch information
rzalamena authored Jul 24, 2018
2 parents efd112e + ed895bf commit 4534e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgp_vrf_netns/test_bgp_vrf_netns_topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

Expand Down

0 comments on commit 4534e78

Please sign in to comment.