Skip to content

Commit bef20c2

Browse files
authored
Remove vrf references and clean up tests
1 parent 9bea35a commit bef20c2

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

tests/bgp-extended-nexthop/default.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,12 @@
8282
}
8383
8484
protocol static static4 {
85-
vrf "vrf0";
8685
ipv4;
8786
8887
route 198.51.100.128/25 unreachable;
8988
}
9089
9190
protocol static static6 {
92-
vrf "vrf0";
9391
ipv6;
9492
9593
route 2001:db8:c0de::/48 unreachable;
@@ -229,14 +227,13 @@
229227
230228
a.wait_for_unit("network.target")
231229
b.wait_for_unit("network.target")
230+
c.wait_for_unit("network.target")
232231
233232
a.wait_for_unit("frr.service")
234233
b.wait_for_unit("bird.service")
234+
c.wait_for_unit("gobgp.service")
235235
236236
with subtest("ensure bgp sessions are established"):
237-
a.sleep(10)
238-
print(a.succeed("vtysh -c 'show bgp summary'"))
239-
print(c.succeed("gobgp neighbor"))
240237
a.wait_until_succeeds("vtysh -c 'show bgp ipv4 summary' | grep 'fe80::2.*2\\s*3\\s*N/A'")
241238
a.wait_until_succeeds("vtysh -c 'show bgp ipv4 summary' | grep 'fe80::3.*1\\s*3\\s*N/A'")
242239
b.wait_until_succeeds("birdc show protocols | grep 'a.*Established'")
@@ -254,13 +251,13 @@
254251
b.succeed("ip route show | grep 198.51.100.0/25")
255252
c.succeed("ip route show | grep 198.51.100.0/25")
256253
a.succeed("ip route show | grep 198.51.100.128/25")
257-
# c.succeed("ip route show | grep 198.51.100.128/25")
254+
c.succeed("ip route show | grep 198.51.100.128/25")
258255
a.succeed("ip route show | grep 203.0.113.0/24")
259256
b.succeed("ip route show | grep 203.0.113.0/24")
260257
b.succeed("ip -6 route show | grep 2001:db8:beef::/48")
261258
c.succeed("ip -6 route show | grep 2001:db8:beef::/48")
262259
a.succeed("ip -6 route show | grep 2001:db8:c0de::/48")
263-
# c.succeed("ip -6 route show | grep 2001:db8:c0de::/48")
260+
c.succeed("ip -6 route show | grep 2001:db8:c0de::/48")
264261
a.succeed("ip -6 route show | grep 2001:db8:dead::/48")
265262
b.succeed("ip -6 route show | grep 2001:db8:dead::/48")
266263
'';

0 commit comments

Comments
 (0)