summaryrefslogtreecommitdiff
path: root/pceplib/pcep_utils_queue.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-10-08 10:35:35 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-10-08 10:35:35 -0400
commita61f4f48c769f2cdc9a059aa63d948960a26860c (patch)
tree68b75ee8cd151a925c31eddbf1ecb9d6af1f68f1 /pceplib/pcep_utils_queue.c
parent9daf964bc89ebeae2d5ae153a645e95dbd120fe7 (diff)
tests: nhid is interfering with pattern match
The bgp_gr_restart_retain_routes test is looking for specific output that does not include the routes nexthop id: def _bgp_check_kernel_retained_routes(): output = ( r2.cmd("ip route show 172.16.255.1/32 proto bgp dev r2-eth0") .replace("\n", "") .rstrip() ) expected = "172.16.255.1 via 192.168.255.1 metric 20" diff = topotest.get_textdiff( output, expected, "Actual IP Routing Table", "Expected IP RoutingTable" ) if diff: return False return True While the output includes nexthop group id's now: root@r2:# ip route show 172.16.255.1 proto bgp dev r2-eth0 172.16.255.1 nhid 8 via 192.168.255.1 metric 20 Let's just mark r2 as not to use nexthop groups for installation and this test issue will go away. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib/pcep_utils_queue.c')
0 files changed, 0 insertions, 0 deletions