]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Check if kernel routes work with changed vrf
authoranlan_cs <vic.lan@pica8.com>
Mon, 26 Jun 2023 10:20:58 +0000 (18:20 +0800)
committeranlan_cs <vic.lan@pica8.com>
Sun, 2 Jul 2023 02:30:09 +0000 (10:30 +0800)
commit019ac03e5b9fd46c51bd14f9f3a16c746e28fdac
tree6a8c108d40b94257fd59484ada884f220f8e36a4
parent098519caf8836f1bb0df9568ecd5daa5b4d5140b
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>
tests/topotests/zebra_rib/r1/v4_route_1_vrf_before.json [new file with mode: 0644]
tests/topotests/zebra_rib/test_zebra_rib.py