test_bgp_distance_change.py::BGPDistanceChange

::startup
::bgp_converge:#85:r1/bgpd/vtysh[show ip bgp neighbor 10.101.0.2 json]
::_bgp_check_distance_change:#95:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]
::_bgp_check_distance_change:#105:r1/zebra/vtysh[show ip route 172.16.255.254/32 json]
::shutdown

::startup

passed after 0.83s
('test_bgp_distance_change.py', -inf, 'startup')

::bgp_converge

::bgp_converge:#85:r1/bgpd/vtysh[show ip bgp neighbor 10.101.0.2 json]

passed after 1.90s, CLI command: show ip bgp neighbor 10.101.0.2 json
Expected output:
{'10.101.0.2': {'bgpState': 'Established', 'addressFamilyInfo': {'ipv4Unicast': {'acceptedPrefixCounter': 2}}}}
('test_bgp_distance_change.py', 85, '#85:r1/bgpd/vtysh[show ip bgp neighbor 10.101.0.2 json]')

::_bgp_check_distance_change

::_bgp_check_distance_change:#95:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]

passed after 0.00s, CLI command: enable configure router bgp 65000 address-family ipv4 unicast distance bgp 123 123 123
('test_bgp_distance_change.py', 95, '#95:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]:r1/bgpd/vtysh[enable; configure; ; router bgp 65000; address-family ipv4 unicast; distance bgp 123 123 123; ]')

::_bgp_check_distance_change:#105:r1/zebra/vtysh[show ip route 172.16.255.254/32 json]

passed after 0.10s, CLI command: show ip route 172.16.255.254/32 json
Expected output:
{'172.16.255.254/32': [{'protocol': 'bgp', 'distance': 123}]}
('test_bgp_distance_change.py', 105, '#105:r1/zebra/vtysh[show ip route 172.16.255.254/32 json]')

::shutdown

passed after 1.11s
('test_bgp_distance_change.py', inf, 'shutdown')
net router-r1 r1 10.255.0.1/32 fd00::1/128 r1-s1 fe:01:00:bc:01:00 10.101.0.1/16 fdbc:1::fc01:ff:febc:100/64 lan-s1 s1 10.101.0.0/16 fdbc:1::/64 router-r1:r1-s1--lan-s1 router-r2 r2 172.16.255.254/32 fd00::2/128 r2-s1 fe:02:00:bc:01:00 10.101.0.2/16 fdbc:1::fc02:ff:febc:100/64 router-r2:r2-s1--lan-s1