test_pim_basic2.py::PIMTopo2Test
Sequence of checks exercising PIM and BFD neighbor establishing.
- ::startup
- ::pim_neigh_up:#106:r1/pimd/vtysh[show ip pim neighbor json]
- ::pim_neigh_up:#106:r2/pimd/vtysh[show ip pim neighbor json]
- ::pim_neigh_up:#106:r3/pimd/vtysh[show ip pim neighbor json]
- ::pim_neigh_up:#106:r4/pimd/vtysh[show ip pim neighbor json]
- ::bfd_neigh_up:#125:r1/bfdd/vtysh[enable; show bfd peers json]
- ::bfd_neigh_up:#125:r2/bfdd/vtysh[enable; show bfd peers json]
- ::bfd_neigh_up:#125:r3/bfdd/vtysh[enable; show bfd peers json]
- ::bfd_neigh_up:#125:r4/bfdd/vtysh[enable; show bfd peers json]
- ::reconverge_after_linkflap:#134:r4/link[r4-sw3 (sw3) -> DOWN]
- ::reconverge_after_linkflap:#136:r4/pimd/vtysh[show ip pim neighbor json]
- ::reconverge_after_linkflap:#142:r2/pimd/vtysh[show ip pim neighbor json]
- ::reconverge_after_linkflap:#146:r4/link[r4-sw3 (sw3) -> UP]
- ::reconverge_after_linkflap:#153:r4/pimd/vtysh[show ip pim neighbor json]
- ::reconverge_after_linkflap:#162:r2/pimd/vtysh[show ip pim neighbor json]
- ::verify_bfd_profile:#179:r1/bfdd/vtysh[enable; show bfd peers json]
- ::verify_bfd_profile:#184:r2/bfdd/vtysh[enable; show bfd peers json]
- ::shutdown
::startup
passed after 1.94s
('test_pim_basic2.py', -inf, 'startup')
::pim_neigh_up
All pimd processes should see all of each other.
::pim_neigh_up:#106:r1/pimd/vtysh[show ip pim neighbor json]
passed after 0.70s, CLI command: show ip pim neighbor json
Expected output:
{'r1-sw1': {'10.101.0.2': {}}}('test_pim_basic2.py', 106, '#106:r1/pimd/vtysh[show ip pim neighbor json]')
::pim_neigh_up:#106:r2/pimd/vtysh[show ip pim neighbor json]
passed after 0.01s, CLI command: show ip pim neighbor json
Expected output:
{'r2-sw1': {'10.101.0.1': {}}, 'r2-sw3': {'10.103.0.4': {}}, 'r2-sw2': {'10.102.0.3': {}}}('test_pim_basic2.py', 106, '#106:r2/pimd/vtysh[show ip pim neighbor json]')
::pim_neigh_up:#106:r3/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
Expected output:
{'r3-sw2': {'10.102.0.2': {}}}('test_pim_basic2.py', 106, '#106:r3/pimd/vtysh[show ip pim neighbor json]')
::pim_neigh_up:#106:r4/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
Expected output:
{'r4-sw3': {'10.103.0.2': {}}}('test_pim_basic2.py', 106, '#106:r4/pimd/vtysh[show ip pim neighbor json]')
::bfd_neigh_up
All bfdd processes should see all of each other.
::bfd_neigh_up:#125:r1/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.101.0.2', 'status': 'up'}]('test_pim_basic2.py', 125, '#125:r1/bfdd/vtysh[enable; show bfd peers json]')
::bfd_neigh_up:#125:r2/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.101.0.1', 'status': 'up'}, {'peer': '10.103.0.4', 'status': 'up'}, {'peer': '10.102.0.3', 'status': 'up'}]('test_pim_basic2.py', 125, '#125:r2/bfdd/vtysh[enable; show bfd peers json]')
::bfd_neigh_up:#125:r3/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.102.0.2', 'status': 'up'}]('test_pim_basic2.py', 125, '#125:r3/bfdd/vtysh[enable; show bfd peers json]')
::bfd_neigh_up:#125:r4/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.103.0.2', 'status': 'up'}]('test_pim_basic2.py', 125, '#125:r4/bfdd/vtysh[enable; show bfd peers json]')
::reconverge_after_linkflap
Check neighbors while flapping r2--r4 link down and back up again.
::reconverge_after_linkflap:#134:r4/link[r4-sw3 (sw3) -> DOWN]
passed after 0.02s
('test_pim_basic2.py', 134, '#134:r4/link[r4-sw3 (sw3) -> DOWN]')
::reconverge_after_linkflap:#136:r4/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
('test_pim_basic2.py', 136, '#136:r4/pimd/vtysh[show ip pim neighbor json]')
::reconverge_after_linkflap:#142:r2/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
Expected output:
{'r2-sw3': {}}('test_pim_basic2.py', 142, '#142:r2/pimd/vtysh[show ip pim neighbor json]')
::reconverge_after_linkflap:#146:r4/link[r4-sw3 (sw3) -> UP]
passed after 0.02s
('test_pim_basic2.py', 146, '#146:r4/link[r4-sw3 (sw3) -> UP]')
::reconverge_after_linkflap:#153:r4/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
Expected output:
{'r4-sw3': {'10.103.0.2': {}}}('test_pim_basic2.py', 153, '#153:r4/pimd/vtysh[show ip pim neighbor json]')
::reconverge_after_linkflap:#162:r2/pimd/vtysh[show ip pim neighbor json]
passed after 0.00s, CLI command: show ip pim neighbor json
Expected output:
{'r2-sw3': {'10.103.0.4': {}}}('test_pim_basic2.py', 162, '#162:r2/pimd/vtysh[show ip pim neighbor json]')
::verify_bfd_profile
Check proper BFD profile propagates from PIM to BFD.
::verify_bfd_profile:#179:r1/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.101.0.1', 'receive-interval': 250, 'transmit-interval': 250}]('test_pim_basic2.py', 179, '#179:r1/bfdd/vtysh[enable; show bfd peers json]')
::verify_bfd_profile:#184:r2/bfdd/vtysh[enable; show bfd peers json]
passed after 0.00s, CLI command: enable
show bfd peers json
Expected output:
[{}, {'peer': '10.101.0.1', 'receive-interval': 250, 'transmit-interval': 250}]('test_pim_basic2.py', 184, '#184:r2/bfdd/vtysh[enable; show bfd peers json]')
::shutdown
passed after 1.25s
('test_pim_basic2.py', inf, 'shutdown')