[scripts] add MLR Backbone multicast routing test (#5578)

- backbone/test_mlr_multicast_routing.py verifies the basic features
  of Backbone multicast routing

- backbone/test_mlr_multicast_routing_timeout.py verifies that MLR
  timeout works

- backbone/test_mlr_multicast_routing_commissioner_timeout.py verifies
  that Commissioner MLR timeout works
This commit is contained in:
Simon Lin
2020-10-26 22:46:48 -07:00
committed by GitHub
parent 12b967cce2
commit 8707b63894
12 changed files with 565 additions and 9 deletions
+3 -1
View File
@@ -208,6 +208,9 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
if 'max_children' in params:
self.nodes[i].set_max_children(params['max_children'])
if 'bbr_registration_jitter' in params:
self.nodes[i].set_bbr_registration_jitter(params['bbr_registration_jitter'])
# we have to add allowlist after nodes are all created
for i, params in initial_topology.items():
allowlist = params['allowlist']
@@ -364,7 +367,6 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
'interface': config.BACKBONE_DOCKER_NETWORK_NAME,
'prefix': config.BACKBONE_PREFIX,
},
'otbr_commit': config.OTBR_COMMIT,
'domain_prefix': config.DOMAIN_PREFIX,
'env': {
'PORT_OFFSET': config.PORT_OFFSET,