]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Change bgp_gr_retained_routes to use json output of "ip route"
authorMartin Winter <mwinter@opensourcerouting.org>
Sat, 18 Feb 2023 01:16:26 +0000 (02:16 +0100)
committerMartin Winter <mwinter@opensourcerouting.org>
Sat, 18 Feb 2023 01:16:26 +0000 (02:16 +0100)
commit6a62adabb3938b1f478d04500e2d918b43f6107d
treebdc1e4c6f5da64f7faa13e95f4138464e61ad44c
parent5ef2911d230d4729364ed8178d7de5764a5c32e4
tests: Change bgp_gr_retained_routes to use json output of "ip route"

Depending on ip_route and kernel, the output might include a nhid
which causes the test to fail with a strict text output check.
Change to json output to avoid the issue

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
tests/topotests/bgp_gr_restart_retain_routes/test_bgp_gr_restart_retain_routes.py