/openthread-3.6.0/tests/scripts/thread-cert/ |
D | test_service.py | 37 ROUTER1 = 2 variable 59 'allowlist': [ROUTER1, ROUTER2] 61 ROUTER1: { 71 'allowlist': [LEADER, ROUTER1] 97 self.nodes[ROUTER1].start() 100 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 105 self.assertEqual(self.hasAloc(ROUTER1, SRV_0_ID), False) 106 self.assertEqual(self.hasAloc(ROUTER1, SRV_1_ID), False) 110 self.nodes[ROUTER1].add_service(SRV_0_ENT_NUMBER, SRV_0_SERVICE_DATA, SRV_0_SERVER_DATA) 111 self.nodes[ROUTER1].register_netdata() [all …]
|
D | Cert_6_2_02_NewPartition.py | 38 ROUTER1 = 2 variable 48 'allowlist': [ROUTER1, ROUTER2] 50 ROUTER1: { 59 'allowlist': [LEADER, ROUTER1] 65 'allowlist': [ROUTER1] 74 self.nodes[ROUTER1].start() 76 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 89 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 95 self.assertTrue(self.nodes[ROUTER1].ping(addr))
|
D | Cert_9_2_13_EnergyScan.py | 40 ROUTER1 = 3 variable 56 'allowlist': [COMMISSIONER, ROUTER1] 58 ROUTER1: { 64 'allowlist': [ROUTER1] 79 self.nodes[ROUTER1].start() 81 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 91 ipaddrs = self.nodes[ROUTER1].get_addrs() 129 TOPOLOGY[ROUTER1]['name'] = 'ROUTER' 136 TOPOLOGY[ROUTER1]['name'] = 'ROUTER' 144 TOPOLOGY[ROUTER1]['name'] = 'DUT' [all …]
|
D | test_route_table.py | 36 ROUTER1 = 2 variable 50 'allowlist': [ROUTER1] 52 ROUTER1: { 58 'allowlist': [ROUTER1] 67 self.nodes[ROUTER1].start() 69 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
|
D | Cert_5_7_03_CoapDiagCommands.py | 44 ROUTER1 = 2 variable 79 'allowlist': [ROUTER1], 81 ROUTER1: { 89 'allowlist': [ROUTER1], 96 'allowlist': [ROUTER1] 99 'allowlist': [ROUTER1], 110 self.nodes[ROUTER1].start() 112 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 152 if self.TOPOLOGY[ROUTER1]['name'] == 'DUT': 190 if self.TOPOLOGY[ROUTER1]['name'] == 'DUT': [all …]
|
D | Cert_6_2_01_NewPartition.py | 39 ROUTER1 = 2 variable 69 'allowlist': [ROUTER1] 71 ROUTER1: { 80 'allowlist': [ROUTER1] 89 self.nodes[ROUTER1].start() 91 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 99 self.assertEqual(self.nodes[ROUTER1].get_state(), 'leader') 105 self.assertTrue(self.nodes[ROUTER1].ping(dut_addr))
|
D | Cert_5_1_05_RouterAddressTimeout.py | 40 ROUTER1 = 2 variable 66 'allowlist': [ROUTER1] 68 ROUTER1: { 76 self.nodes[ROUTER1].add_allowlist(self.nodes[LEADER].get_addr64()) 77 self.nodes[ROUTER1].enable_allowlist() 78 self.nodes[ROUTER1].set_router_selection_jitter(1) 85 self.nodes[ROUTER1].start() 87 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 89 self.nodes[ROUTER1].reset() 92 self.nodes[ROUTER1].start() [all …]
|
D | Cert_9_2_10_PendingPartition.py | 45 ROUTER1 = 3 variable 73 'allowlist': [COMMISSIONER, ROUTER1] 75 ROUTER1: { 89 'allowlist': [ROUTER1] 97 'allowlist': [ROUTER1] 112 self.nodes[ROUTER1].start() 114 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 133 self.nodes[LEADER].remove_allowlist(self.nodes[ROUTER1].get_addr64()) 134 self.nodes[ROUTER1].remove_allowlist(self.nodes[LEADER].get_addr64()) 137 self.assertEqual(self.nodes[ROUTER1].get_state(), 'leader') [all …]
|
D | test_router_multicast_link_request.py | 39 ROUTER1, ROUTER2, ROUTER3 = 3, 4, 5 variable 71 'allowlist': [ROUTER1, ROUTER2, ROUTER3] 73 ROUTER1: { 91 'allowlist': [ROUTER1, ROUTER2, ROUTER3] 100 for routerid in (ROUTER1, ROUTER2, ROUTER3): 116 for router in [self.nodes[ROUTER1], self.nodes[ROUTER2], self.nodes[ROUTER3]]:
|
D | Cert_5_7_01_CoapDiagCommands.py | 44 ROUTER1 = 2 variable 79 'allowlist': [ROUTER1], 81 ROUTER1: { 88 'allowlist': [ROUTER1], 95 'allowlist': [ROUTER1], 102 'allowlist': [ROUTER1] 105 'allowlist': [ROUTER1], 116 self.nodes[ROUTER1].start() 118 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 131 DUT = ROUTER1 [all …]
|
D | Cert_6_1_07_RouterAttachLinkQuality.py | 38 ROUTER1 = 2 variable 48 'allowlist': [ROUTER1, ROUTER2] 50 ROUTER1: { 64 'allowlist': [ROUTER1, ROUTER2] 73 self.nodes[ROUTER1].start() 75 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 88 self.assertTrue(self.nodes[ROUTER1].ping(addr))
|
D | Cert_5_5_05_SplitMergeREED.py | 38 ROUTER1 = 2 variable 52 ROUTER1: { 65 'allowlist': [LEADER, ROUTER1] 132 self.nodes[ROUTER1].start() 134 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 140 self.nodes[ROUTER1].add_allowlist(self.nodes[REED1].get_addr64()) 141 self.nodes[REED1].add_allowlist(self.nodes[ROUTER1].get_addr64()) 146 self.assertEqual(self.nodes[ROUTER1].get_state(), 'child') 154 self.assertTrue(self.nodes[ROUTER1].ping(addr))
|
D | Cert_9_2_14_PanIdQuery.py | 39 ROUTER1 = 3 variable 55 'allowlist': [COMMISSIONER, ROUTER1] 57 ROUTER1: { 66 'allowlist': [ROUTER1] 81 self.nodes[ROUTER1].start() 83 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 90 ipaddrs = self.nodes[ROUTER1].get_addrs()
|
D | Cert_5_1_06_RemoveRouterId.py | 42 ROUTER1 = 2 variable 67 'allowlist': [ROUTER1] 69 ROUTER1: { 81 self.nodes[ROUTER1].start() 83 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 84 rloc16 = self.nodes[ROUTER1].get_addr16() 87 router_lladdr = self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.LINK_LOCAL) 92 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
|
D | Cert_5_3_06_RouterIdMask.py | 38 ROUTER1 = 2 variable 67 'allowlist': [ROUTER1] 69 ROUTER1: { 77 'allowlist': [ROUTER1] 82 self.nodes[ROUTER2].add_allowlist(self.nodes[ROUTER1].get_addr64()) 92 self.nodes[ROUTER1].start() 94 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 123 self.nodes[ROUTER1].reset()
|
D | Cert_5_1_12_NewRouterNeighborSync.py | 40 ROUTER1 = 2 variable 65 'allowlist': [ROUTER1, ROUTER2] 67 ROUTER1: { 84 self.nodes[ROUTER1].start() 86 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 94 self.nodes[ROUTER1].add_allowlist(self.nodes[ROUTER2].get_addr64()) 95 self.nodes[ROUTER2].add_allowlist(self.nodes[ROUTER1].get_addr64())
|
D | Cert_5_5_04_SplitMergeRouters.py | 38 ROUTER1 = 2 variable 49 'allowlist': [ROUTER1, ROUTER2] 51 ROUTER1: { 64 'allowlist': [ROUTER1] 74 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER1].get_addr64()) 84 self.nodes[ROUTER1].start() 86 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
|
D | Cert_9_2_16_ActivePendingPartition.py | 45 ROUTER1 = 3 variable 72 'allowlist': [COMMISSIONER, ROUTER1] 74 ROUTER1: { 92 'allowlist': [ROUTER1] 97 self.nodes[ROUTER2].add_allowlist(self.nodes[ROUTER1].get_addr64()) 112 self.nodes[ROUTER1].start() 114 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 150 self.assertEqual(self.nodes[ROUTER1].get_network_name(), NETWORK_NAME_FINAL) 157 self.assertEqual(self.nodes[ROUTER1].get_panid(), PANID_FINAL)
|
D | Cert_5_5_07_SplitMergeThreeWay.py | 38 ROUTER1 = 2 variable 48 'allowlist': [ROUTER1, ROUTER2, ROUTER3] 50 ROUTER1: { 68 self.nodes[LEADER1].add_allowlist(self.nodes[ROUTER1].get_addr64()) 79 self.nodes[ROUTER1].start() 81 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router') 101 self.assertTrue(self.nodes[ROUTER1].ping(addr)) 106 self.assertTrue(self.nodes[ROUTER1].ping(addr)) 111 self.assertTrue(self.nodes[ROUTER1].ping(addr))
|
/openthread-3.6.0/tests/scripts/thread-cert/backbone/ |
D | test_mlr_multicast_routing_across_thread_pans.py | 41 ROUTER1 = 2 variable 66 'allowlist': [ROUTER1], 72 ROUTER1: { 116 self.nodes[ROUTER1].start() 118 self.assertEqual('router', self.nodes[ROUTER1].get_state()) 119 self.nodes[ROUTER1].add_ipmaddr(MA1) 138 self.assertEqual('router', self.nodes[ROUTER1].get_state()) 153 self.assertTrue(self.nodes[ROUTER1].ping(MA2)) 159 self.assertFalse(self.nodes[ROUTER1].ping(MA2, interface=self.nodes[ROUTER1].get_mleid())) 163 … self.assertFalse(self.nodes[ROUTER1].ping(MA2, interface=self.nodes[ROUTER1].get_linklocal())) [all …]
|
D | test_bmlr.py | 47 ROUTER1 = 3 variable 67 'allowlist': [SBBR, ROUTER1], 73 'allowlist': [PBBR, ROUTER1], 77 ROUTER1: { 84 'allowlist': [ROUTER1], 103 self.nodes[ROUTER1].start() 104 self.wait_node_state(ROUTER1, 'router', 5) 117 self.nodes[ROUTER1].add_ipmaddr(MA2) 137 ROUTER1 = pv.vars['ROUTER1'] 153 pkts.filter_wpan_src64(ROUTER1).filter_coap_request('/n/mr').must_next().must_verify(f"""
|
D | test_dua_dad.py | 45 ROUTER1 = 3 variable 78 'allowlist': [SBBR, ROUTER1], 86 'allowlist': [PBBR, ROUTER1], 92 ROUTER1: { 147 self.nodes[ROUTER1].start() 149 self.assertEqual('router', self.nodes[ROUTER1].get_state()) 151 self.assertIsNotNone(self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA)) 187 self.nodes[ROUTER2].ping(self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA)) 192 self.nodes[ROUTER1].set_dua_iid(DUPLICATE_IID) 196 … self.assertNotEqual(DUPLICATE_DUA, self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA)) [all …]
|
D | bbr_5_11_01.py | 46 ROUTER1 = 2 variable 57 'allowlist': [ROUTER1, ROUTER2], 61 ROUTER1: { 68 'allowlist': [ROUTER1, BR_1], 81 self.nodes[ROUTER1].set_weight(72) 82 self.nodes[ROUTER1].start() 85 self.assertEqual('leader', self.nodes[ROUTER1].get_state())
|
D | test_ndproxy.py | 43 ROUTER1 = 3 variable 64 'allowlist': [SBBR, ROUTER1], 70 'allowlist': [PBBR, ROUTER1], 74 ROUTER1: { 114 self.nodes[ROUTER1].start() 116 self.assertEqual('router', self.nodes[ROUTER1].get_state()) 117 self.assertIsNotNone(self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA)) 127 self._test_neighbor_solicitation(ROUTER1)
|
D | test_dua_routing.py | 44 ROUTER1 = 3 variable 69 'allowlist': [SBBR, ROUTER1], 77 'allowlist': [PBBR, ROUTER1], 82 ROUTER1: { 135 self.nodes[ROUTER1].start() 137 self.assertEqual('router', self.nodes[ROUTER1].get_state()) 138 self.assertIsNotNone(self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA)) 180 …self.assertTrue(self.nodes[HOST].ping(self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA), 186 ROUTER1_DUA = self.nodes[ROUTER1].get_ip6_address(config.ADDRESS_TYPE.DUA) 203 ROUTER1 = pv.vars['ROUTER1']
|