test_pim6_bootstrap.py::PIM6Bootstrap
- Download network diagram (as shown to the right, SVG)
- Download captured packets (pcap-ng)
- Coverage data (LCOV, raw)
- ::startup
- ::prepare:#53:r1/pim6d/vtysh[enable; configure; interface r1-lan1; ipv6 pim]
- ::prepare:#53:r1/pim6d/vtysh[enable; configure; interface r1-lan2; ipv6 pim]
- ::prepare:#54:r1/pim6d/vtysh[enable; configure; interface lo; ipv6 pim; exit]
- ::prepare:#56:r1/pim6d/vtysh[show ipv6 pim rp-info]
- ::test_bsm_rx:#69:h1/scapy[h1-lan1/IPv6/PIM_Hdr/PIM_Hello]
- ::test_bsm_rx:#74:r1/pim6d/vtysh[show ipv6 pim neighbor]
- ::test_bsm_rx:#76:h1/scapy[h1-lan1/IPv6/PIM_Hdr/PIM_Bootstrap]
- ::shutdown
::startup
passed after 0.75s
('test_pim6_bootstrap.py', -inf, 'startup')
::prepare
::prepare:#53:r1/pim6d/vtysh[enable; configure; interface r1-lan1; ipv6 pim]
passed after 0.00s, CLI command: enable
configure
interface r1-lan1
ipv6 pim
('test_pim6_bootstrap.py', 53, '#53:r1/pim6d/vtysh[enable; configure; interface r1-lan1; ipv6 pim]')
::prepare:#53:r1/pim6d/vtysh[enable; configure; interface r1-lan2; ipv6 pim]
passed after 0.00s, CLI command: enable
configure
interface r1-lan2
ipv6 pim
('test_pim6_bootstrap.py', 53, '#53:r1/pim6d/vtysh[enable; configure; interface r1-lan2; ipv6 pim]')
::prepare:#54:r1/pim6d/vtysh[enable; configure; interface lo; ipv6 pim; exit]
passed after 0.00s, CLI command: enable
configure
interface lo
ipv6 pim
exit
('test_pim6_bootstrap.py', 54, '#54:r1/pim6d/vtysh[enable; configure; interface lo; ipv6 pim; exit]')
::prepare:#56:r1/pim6d/vtysh[show ipv6 pim rp-info]
passed after 0.00s, CLI command: show ipv6 pim rp-info
('test_pim6_bootstrap.py', 56, '#56:r1/pim6d/vtysh[show ipv6 pim rp-info]')
::test_bsm_rx
Send a bootstrap message and check it is processed.
::test_bsm_rx:#69:h1/scapy[h1-lan1/IPv6/PIM_Hdr/PIM_Hello]
passed after 0.07s, packet: Ether / fe80::fc01:ff:febc:100 > ff02::d (103) / PIM_Hdr / PIM_Hello
###[ Ethernet ]### dst = 33:33:00:00:00:0d src = None type = IPv6 ###[ IPv6 ]### version = 6 tc = 0 fl = 0 plen = None nh = 103 hlim = 1 src = fe80::fc01:ff:febc:100 dst = ff02::d ###[ PIM Header ]### version = 2 type = Hello reserved = 0 chksum = None ###[ PIM Hello ]### \options \
::test_bsm_rx:#74:r1/pim6d/vtysh[show ipv6 pim neighbor]
passed after 0.00s, CLI command: show ipv6 pim neighbor
('test_pim6_bootstrap.py', 74, '#74:r1/pim6d/vtysh[show ipv6 pim neighbor]')
::test_bsm_rx:#76:h1/scapy[h1-lan1/IPv6/PIM_Hdr/PIM_Bootstrap]
passed after 0.07s, packet: Ether / fe80::fc01:ff:febc:100 > ff02::d (103) / PIM_Hdr / PIM_Bootstrap
###[ Ethernet ]### dst = 33:33:00:00:00:0d src = None type = IPv6 ###[ IPv6 ]### version = 6 tc = 0 fl = 0 plen = None nh = 103 hlim = 1 src = fe80::fc01:ff:febc:100 dst = ff02::d ###[ PIM Header ]### version = 2 type = Bootstrap reserved = 0 chksum = None ###[ PIM Bootstrap ]### fragmenttag= None hashmasklen= 24 priority = 64 address = 'fdbc:1::fc01:ff:febc:100' \groups \
::shutdown
passed after 3.11s
('test_pim6_bootstrap.py', inf, 'shutdown')