]> git.puffer.fish Git - mirror/frr.git/commit
tests: Check if kernel routes work with changed vrf 13943/head
authoranlan_cs <vic.lan@pica8.com>
Mon, 26 Jun 2023 10:20:58 +0000 (18:20 +0800)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Jul 2023 06:02:05 +0000 (06:02 +0000)
commit1841a752733d7d4d804ee3f95af54df9f2f3546f
treea3111ee0ba1ddfc3e77975d3d3506d4840cc9ee0
parentdd971cbf35327b3215070d5c267f4d1ee40e8fee
tests: Check if kernel routes work with changed vrf

Check `show ip route` for specific kernel routes after
the interface as their nexthop changes vrf.

After moving interface's vrf, there should be no kernel
route in old vrf.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
(cherry picked from commit 019ac03e5b9fd46c51bd14f9f3a16c746e28fdac)
tests/topotests/zebra_rib/r1/v4_route_1_vrf_before.json [new file with mode: 0644]
tests/topotests/zebra_rib/test_zebra_rib.py