test_disable_addpath_rx.py::BGPDisableAddpathRx
- ::startup
- ::check_bgp_advertised_routes:#130:r2/bgpd/vtysh[show bgp ipv4 unicast neighbor 192.168.1.1 advertised-routes json]
- ::check_bgp_disabled_addpath_rx:#151:r1/bgpd/vtysh[show bgp neighbor 192.168.1.2 json]
- ::shutdown
::startup
passed after 1.39s
('test_disable_addpath_rx.py', -inf, 'startup')
::check_bgp_advertised_routes
::check_bgp_advertised_routes:#130:r2/bgpd/vtysh[show bgp ipv4 unicast neighbor 192.168.1.1 advertised-routes json]
passed after 1.30s, CLI command: show bgp ipv4 unicast neighbor 192.168.1.1 advertised-routes json
Expected output:
{'advertisedRoutes': {'172.16.16.254/32': {'addrPrefix': '172.16.16.254', 'prefixLen': 32}, '192.168.2.0/24': {'addrPrefix': '192.168.2.0', 'prefixLen': 24}}, 'totalPrefixCounter': 2}('test_disable_addpath_rx.py', 130, '#130:r2/bgpd/vtysh[show bgp ipv4 unicast neighbor 192.168.1.1 advertised-routes json]')
::check_bgp_disabled_addpath_rx
::check_bgp_disabled_addpath_rx:#151:r1/bgpd/vtysh[show bgp neighbor 192.168.1.2 json]
passed after 0.00s, CLI command: show bgp neighbor 192.168.1.2 json
Expected output:
{'192.168.1.2': {'bgpState': 'Established', 'neighborCapabilities': {'addPath': {'ipv4Unicast': {'txReceived': True, 'rxReceived': True}}}, 'addressFamilyInfo': {'ipv4Unicast': {'acceptedPrefixCounter': 2}}}}('test_disable_addpath_rx.py', 151, '#151:r1/bgpd/vtysh[show bgp neighbor 192.168.1.2 json]')
::shutdown
passed after 1.18s
('test_disable_addpath_rx.py', inf, 'shutdown')