test_bgp_rmap_extcommunity_none.py::TestBGPExtCommunity
- ::startup
- ::bgp_converge:#98:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]
- ::bgp_extcommunity_strip:#119:r1/bgpd/vtysh[; enable; configure terminal; router bgp 65001; address-family ipv4 ; neighbor 192.168.1.2 route-map r2 in; ]
- ::bgp_extcommunity_strip:#131:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]
- ::shutdown
::startup
passed after 0.84s
('test_bgp_rmap_extcommunity_none.py', -inf, 'startup')
::bgp_converge
::bgp_converge:#98:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]
passed after 4.80s, CLI command: show bgp ipv4 unicast 172.16.16.1/32 json
Expected output:
{'prefix': '172.16.16.1/32', 'paths': [{'community': {'string': '123:123'}, 'extendedCommunity': {'string': 'LB:65002:25000000 (200.000 Mbps)'}}]}('test_bgp_rmap_extcommunity_none.py', 98, '#98:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]')
::bgp_extcommunity_strip
::bgp_extcommunity_strip:#119:r1/bgpd/vtysh[; enable; configure terminal; router bgp 65001; address-family ipv4 ; neighbor 192.168.1.2 route-map r2 in; ]
passed after 0.00s, CLI command:
enable
configure terminal
router bgp 65001
address-family ipv4
neighbor 192.168.1.2 route-map r2 in
('test_bgp_rmap_extcommunity_none.py', 119, '#119:r1/bgpd/vtysh[; enable; configure terminal; router bgp 65001; address-family ipv4 ; neighbor 192.168.1.2 route-map r2 in; ]')
::bgp_extcommunity_strip:#131:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]
passed after 0.20s, CLI command: show bgp ipv4 unicast 172.16.16.1/32 json
Expected output:
{'prefix': '172.16.16.1/32', 'paths': [{'community': {'string': '123:123'}, 'extendedCommunity': None}]}('test_bgp_rmap_extcommunity_none.py', 131, '#131:r1/bgpd/vtysh[show bgp ipv4 unicast 172.16.16.1/32 json]')
::shutdown
passed after 1.12s
('test_bgp_rmap_extcommunity_none.py', inf, 'shutdown')