test_exabgp_demo.py::ExaBGPDemo
- ::startup
- ::prepare:#68:r2 ExaBGP (Start)
- ::prepare:#79:r3 ExaBGP (Start)
- ::bgp_check:#92:r1/bgpd/vtysh[show ip bgp summary json]
- ::exabgp_announcement:#99:r3 ExaBGP (Execute)
- ::exabgp_announcement:#121:r1/bgpd/vtysh[show ip bgp json]
- ::shutdown
::startup
passed after 1.12s
('test_exabgp_demo.py', -inf, 'startup')
::prepare
::prepare:#68:r2 ExaBGP (Start)
passed after 0.13s
('test_exabgp_demo.py', 68, '#68:r2 ExaBGP (Start)')
::prepare:#79:r3 ExaBGP (Start)
passed after 0.13s
('test_exabgp_demo.py', 79, '#79:r3 ExaBGP (Start)')
::bgp_check
::bgp_check:#92:r1/bgpd/vtysh[show ip bgp summary json]
passed after 0.20s, CLI command: show ip bgp summary json
Expected output:
{'ipv4Unicast': {'peers': {'10.101.0.2': {'state': 'Established'}, '10.101.0.3': {'state': 'Established'}}}}('test_exabgp_demo.py', 92, '#92:r1/bgpd/vtysh[show ip bgp summary json]')
::exabgp_announcement
::exabgp_announcement:#99:r3 ExaBGP (Execute)
passed after 0.11s
('test_exabgp_demo.py', 99, '#99:r3 ExaBGP (Execute)')
::exabgp_announcement:#121:r1/bgpd/vtysh[show ip bgp json]
passed after 0.00s, CLI command: show ip bgp json
Expected output:
{'routes': {'100.10.0.0/24': [{'valid': True, 'network': '100.10.0.0/24', 'peerId': '10.101.0.3', 'path': '65002', 'origin': 'IGP', 'nexthops': [{'ip': '10.101.0.3'}]}]}}('test_exabgp_demo.py', 121, '#121:r1/bgpd/vtysh[show ip bgp json]')
::shutdown
passed after 1.15s
('test_exabgp_demo.py', inf, 'shutdown')