]> git.proxmox.com Git - mirror_frr.git/commit
toptests/isis_sr_te_topo1: test out-of-order route/route-map changes
authorG. Paul Ziemba <p-fbsd-bugs@ziemba.us>
Fri, 20 May 2022 16:26:56 +0000 (09:26 -0700)
committerG. Paul Ziemba <paulz@labn.net>
Sun, 26 Jun 2022 21:38:22 +0000 (14:38 -0700)
commitb5635d75759991539053d9b12519e0474b309610
treef3f85c342ff4b942e0ce46f5a4e88f2d9e14ff75
parent437e7e77d6a834d805c83b26dfd33235f1f08721
toptests/isis_sr_te_topo1: test out-of-order route/route-map changes

    A SR policy matches a BGP nexthop based on the IP address of
    the nexthop and the color of the route (color may be assigned
    to routes using a route-map).

    The order of events (BGP route arrival, route-map definition,
    policy and candidate-path definition) should not affect the
    matching/mapping.

    These changes add tests for:

- removing/adding BGP route after policy and routemap are
  defined and held constant

- changing route map color to be different from policy color,
  and then changing back to match

    after each change, the policy should be observed to be in effect
    unchanged from before, i.e., the route's nexthops should reflect
    the matching SR policy.

Signed-off-by: G. Paul Ziemba <paulz@labn.net>
tests/topotests/isis_sr_te_topo1/rt1/step5/show_ip_route_bgp_empty.ref [new file with mode: 0644]
tests/topotests/isis_sr_te_topo1/test_isis_sr_te_topo1.py