test_ospf_gr_topo1.py::GracefulRestartTest
- ::startup
- ::check_routers:#122:r1/zebra/vtysh[show ip route json]
- ::check_routers:#123:r1/zebra/vtysh[show ip route]
- ::check_routers:#124:r1/ospfd/vtysh[show ip ospf database]
- ::shutdown
::startup
passed after 0.80s
('test_ospf_gr_topo1.py', -inf, 'startup')
::check_routers
::check_routers:#122:r1/zebra/vtysh[show ip route json]
passed after 12.80s, CLI command: show ip route json
Expected output:
{'1.1.1.1/32': [{'prefix': '1.1.1.1/32', 'protocol': 'ospf', 'distance': 110, 'metric': 0, 'nexthops': [{'directlyConnected': True, 'interfaceName': 'lo'}]}], '2.2.2.2/32': [{'prefix': '2.2.2.2/32', 'protocol': 'ospf', 'distance': 110, 'metric': 10}]}('test_ospf_gr_topo1.py', 122, '#122:r1/zebra/vtysh[show ip route json]')
::check_routers:#123:r1/zebra/vtysh[show ip route]
passed after 0.00s, CLI command: show ip route
('test_ospf_gr_topo1.py', 123, '#123:r1/zebra/vtysh[show ip route]')
::check_routers:#124:r1/ospfd/vtysh[show ip ospf database]
passed after 0.00s, CLI command: show ip ospf database
('test_ospf_gr_topo1.py', 124, '#124:r1/ospfd/vtysh[show ip ospf database]')
::shutdown
passed after 1.11s
('test_ospf_gr_topo1.py', inf, 'shutdown')