test_pim6_bootstrap.py::PIM6Bootstrap

::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')
net router-r1 r1 10.255.0.3/32 fd00::3/128 r1-lan1 fe:03:00:bc:01:00 10.101.0.3/16 fdbc:1::fc03:ff:febc:100/64 r1-lan2 fe:03:00:bc:02:00 10.102.0.3/16 fdbc:2::fc03:ff:febc:200/64 lan-lan1 lan1 10.101.0.0/16 fdbc:1::/64 router-r1:r1-lan1--lan-lan1 lan-lan2 lan2 10.102.0.0/16 fdbc:2::/64 router-r1:r1-lan2--lan-lan2 router-h1 h1 10.255.0.1/32 fd00::1/128 h1-lan1 fe:01:00:bc:01:00 10.101.0.1/16 fdbc:1::fc01:ff:febc:100/64 router-h1:h1-lan1--lan-lan1 router-h2 h2 10.255.0.2/32 fd00::2/128 h2-lan2 fe:02:00:bc:02:00 10.102.0.2/16 fdbc:2::fc02:ff:febc:200/64 router-h2:h2-lan2--lan-lan2