]> git.puffer.fish Git - mirror/frr.git/commit
tests: Modify zebra_rib tests to include some basic route-map tests
authorDonald Sharp <sharpd@nvidia.com>
Thu, 1 Oct 2020 22:24:01 +0000 (18:24 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 16 Jan 2021 00:34:33 +0000 (19:34 -0500)
commitfed1681178fc198e0e2204ad1fdb432c2d69feb6
tree0b8191e80629c3159b4e15fb9ab1a8f81fa40ef4
parent4dfcfabfa99a613a8fe5d4d69f6e8550f2d9dbf6
tests: Modify zebra_rib tests to include some basic route-map tests

New test does this:
a) Ensures that we run the correct number of times given two
`ip protocol X` commands( ie we do not run the route-map application
against all routes, only those affected )
b) Ensure that when we modify the route-map the state ends up sane
this includes making a static route depend on a sharp route that
gets removed from the change of the sharp route-map
c) Ensure that the kernel routes are correct.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/zebra_rib/r1/iproute.ref [new file with mode: 0644]
tests/topotests/zebra_rib/r1/sharp_rmap.ref [new file with mode: 0644]
tests/topotests/zebra_rib/r1/static_rmap.ref [new file with mode: 0644]
tests/topotests/zebra_rib/test_zebra_rib.py