summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_multi_instance/test_ospf_multi_instance.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-11-13 11:47:33 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-11-13 13:32:28 +0200
commit98ca49e0ee581259903e8ab2d6306e61dfc87606 (patch)
treeb0a36759cc4023f7f78e1fa1d44638d41fa2553a /tests/topotests/ospf_multi_instance/test_ospf_multi_instance.py
parent5456bc5d9313b53b8059583cba7c95f55f08a26b (diff)
bgpd: Show neighbor advertised paths including addpath
Without the patch only the best path is displayed. With the patch, display all paths including addpaths, but only for non-JSON output to avoid breaking existing output. E.g.: ``` munet> r2 shi vtysh -c 'sh ip bgp nei 192.168.2.3 advertised-routes' Network Next Hop Metric LocPrf Weight Path *> 172.16.16.254/32 192.168.2.3 0 0 65003 ? * 172.16.16.254/32 192.168.2.4 0 0 65004 ? *> 192.168.2.0/24 192.168.2.3 0 0 65003 ? * 192.168.2.0/24 192.168.2.4 0 0 65004 ? ``` Before it was: ``` munet> r2 shi vtysh -c 'sh ip bgp nei 192.168.2.3 advertised-routes' Network Next Hop Metric LocPrf Weight Path *> 172.16.16.254/32 192.168.2.3 0 0 65003 ? *> 192.168.2.0/24 192.168.2.3 0 0 65003 ? ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/ospf_multi_instance/test_ospf_multi_instance.py')
0 files changed, 0 insertions, 0 deletions