test_ospf6_p2xp.py::PtMPBasic
- ::startup
- ::bringup:#151:r1/ospf6d/vtysh[show ipv6 ospf neighbor json]
- ::bringup:#151:r2/ospf6d/vtysh[show ipv6 ospf neighbor json]
- ::bringup:#151:r3/ospf6d/vtysh[show ipv6 ospf neighbor json]
- ::bringup:#162:lsdb/ospf6d/vtysh[show ipv6 ospf neighbor json]
- ::bringup:#179:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::bringup:#179:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::bringup:#179:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::bringup:#179:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r1:#196:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]
- ::connected_pfx_r1:#209:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r1:#209:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r1:#209:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r1:#209:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r3:#226:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]
- ::connected_pfx_r3:#239:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r3:#239:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r3:#239:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::connected_pfx_r3:#239:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
- ::shutdown
::startup
passed after 1.42s
('test_ospf6_p2xp.py', -inf, 'startup')
::bringup
Wait for all OSPFv3 neighbors to be up before running actual tests.
This includes P2MP bringup since link-type is included in initial config.
::bringup:#151:r1/ospf6d/vtysh[show ipv6 ospf neighbor json]
passed after 3.80s, CLI command: show ipv6 ospf neighbor json
Expected output:
{'neighbors': [{'interfaceName': 'r1-lan', 'neighborId': '10.255.0.2', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}, {'interfaceName': 'r1-lan', 'neighborId': '10.255.0.3', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}]}('test_ospf6_p2xp.py', 151, '#151:r1/ospf6d/vtysh[show ipv6 ospf neighbor json]')
::bringup:#151:r2/ospf6d/vtysh[show ipv6 ospf neighbor json]
passed after 0.00s, CLI command: show ipv6 ospf neighbor json
Expected output:
{'neighbors': [{'interfaceName': 'r2-lan', 'neighborId': '10.255.0.1', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}, {'interfaceName': 'r2-lan', 'neighborId': '10.255.0.3', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}]}('test_ospf6_p2xp.py', 151, '#151:r2/ospf6d/vtysh[show ipv6 ospf neighbor json]')
::bringup:#151:r3/ospf6d/vtysh[show ipv6 ospf neighbor json]
passed after 0.00s, CLI command: show ipv6 ospf neighbor json
Expected output:
{'neighbors': [{'interfaceName': 'r3-lan', 'neighborId': '10.255.0.1', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}, {'interfaceName': 'r3-lan', 'neighborId': '10.255.0.2', 'state': 'Full', 'ifState': 'PtMultipoint', 'interfaceState': 'PtMultipoint'}]}('test_ospf6_p2xp.py', 151, '#151:r3/ospf6d/vtysh[show ipv6 ospf neighbor json]')
::bringup:#162:lsdb/ospf6d/vtysh[show ipv6 ospf neighbor json]
passed after 0.00s, CLI command: show ipv6 ospf neighbor json
Expected output:
{'neighbors': [{'interfaceName': 'lsdb-r3', 'state': 'Full'}]}('test_ospf6_p2xp.py', 162, '#162:lsdb/ospf6d/vtysh[show ipv6 ospf neighbor json]')
::bringup:#179:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 3.89s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 179, '#179:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::bringup:#179:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 179, '#179:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::bringup:#179:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 179, '#179:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::bringup:#179:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 179, '#179:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r1
Enable advertising connected prefix on P2MP link on r1 and check result.
::connected_pfx_r1:#196:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]
passed after 0.00s, CLI command: enable
configure
interface r1-lan
ipv6 ospf6 p2p-p2mp connected-prefixes include
('test_ospf6_p2xp.py', 196, '#196:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r1/ospf6d/vtysh[enable; configure; interface r1-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]')
::connected_pfx_r1:#209:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.01s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 209, '#209:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r1:#209:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 3.10s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 209, '#209:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r1:#209:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 209, '#209:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r1:#209:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}]}]}]}('test_ospf6_p2xp.py', 209, '#209:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r3
Enable advertising connected prefix on P2MP link on r3 and check result.
::connected_pfx_r3:#226:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]
passed after 0.00s, CLI command: enable
configure
interface r3-lan
ipv6 ospf6 p2p-p2mp connected-prefixes include
('test_ospf6_p2xp.py', 226, '#226:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]:r3/ospf6d/vtysh[enable; configure; interface r3-lan; ipv6 ospf6 p2p-p2mp connected-prefixes include]')
::connected_pfx_r3:#239:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}]}]}('test_ospf6_p2xp.py', 239, '#239:r1/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r3:#239:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}]}]}('test_ospf6_p2xp.py', 239, '#239:r2/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r3:#239:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}]}]}('test_ospf6_p2xp.py', 239, '#239:r3/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::connected_pfx_r3:#239:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]
passed after 0.00s, CLI command: show ipv6 ospf6 database detail json
Expected output:
{'areaScopedLinkStateDb': [{}, {}, {'areaId': '0.0.0.0', 'lsa': [{}, {}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.1', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.1', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc01:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.2', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.3'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.2', 'numberOfPrefix': 1, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc02:ff:febc:100/128'}]}, {'type': 'Router', 'linkStateId': '0.0.0.0', 'advertisingRouter': '10.255.0.3', 'bits': '--------', 'options': '--|-|--|-|-|--|R|-|--|E|V6', 'lsaDescription': [{'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.1'}, {'type': 'Point-To-Point', 'neighborRouterId': '10.255.0.2'}]}, {'type': 'Intra-Prefix', 'advertisingRouter': '10.255.0.3', 'numberOfPrefix': 2, 'reference': 'Router', 'referenceId': '0.0.0.0', 'prefix': [{'prefixOption': '--|--|--|LA|--', 'prefix': 'fdbc:1::fc03:ff:febc:100/128'}, {'prefixOption': '--|--|--|--|--', 'prefix': 'fdbc:1::/64'}]}]}]}('test_ospf6_p2xp.py', 239, '#239:lsdb/ospf6d/vtysh[show ipv6 ospf6 database detail json]')
::shutdown
passed after 1.20s
('test_ospf6_p2xp.py', inf, 'shutdown')