/openthread-2.7.6/tests/scripts/thread-cert/ |
D | Cert_5_6_07_NetworkDataRequestREED.py | 36 LEADER = 1 variable 46 LEADER: { 54 'allowlist': [LEADER] 59 'allowlist': [LEADER, REED1] 63 'allowlist': [LEADER] 67 'allowlist': [LEADER] 71 'allowlist': [LEADER] 75 'allowlist': [LEADER] 79 'allowlist': [LEADER] 83 'allowlist': [LEADER] [all …]
|
D | Cert_5_7_02_CoapDiagCommands.py | 44 LEADER = 1 variable 72 LEADER: { 80 'allowlist': [LEADER] 85 'allowlist': [LEADER] 90 'allowlist': [LEADER] 95 'allowlist': [LEADER] 100 'allowlist': [LEADER] 105 'allowlist': [LEADER] 110 'allowlist': [LEADER] 115 'allowlist': [LEADER] [all …]
|
D | Cert_6_3_02_NetworkDataUpdate.py | 36 LEADER = 1 variable 42 LEADER: { 52 'allowlist': [LEADER] 57 self.nodes[LEADER].start() 59 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 65 self.nodes[LEADER].add_prefix('2001:2:0:1::/64', 'paros') 66 self.nodes[LEADER].register_netdata() 77 self.assertTrue(self.nodes[LEADER].ping(addr)) 79 self.nodes[LEADER].remove_allowlist(self.nodes[ED].get_addr64()) 80 self.nodes[ED].remove_allowlist(self.nodes[LEADER].get_addr64()) [all …]
|
D | test_set_mliid.py | 36 LEADER = 1 variable 43 LEADER: { 50 self.nodes[LEADER].set_mliid('1122334455667788') 52 self.nodes[LEADER].start() 54 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 57 mleid = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.ML_EID) 61 self.assertRaises(Exception, lambda: self.nodes[LEADER].set_mliid('5566778811223344')) 63 self.nodes[LEADER].reset() 65 self.nodes[LEADER].start() 67 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') [all …]
|
D | Cert_5_5_05_SplitMergeREED.py | 36 LEADER = 1 variable 46 LEADER: { 59 'allowlist': [LEADER, REED1] 64 'allowlist': [LEADER, ROUTER1] 68 'allowlist': [LEADER] 72 'allowlist': [LEADER] 76 'allowlist': [LEADER] 80 'allowlist': [LEADER] 84 'allowlist': [LEADER] 88 'allowlist': [LEADER] [all …]
|
D | test_coaps.py | 35 LEADER = 1 variable 43 LEADER: { 49 'allowlist': [LEADER] 54 self.nodes[LEADER].start() 56 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 62 mleid = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.ML_EID) 64 self.nodes[LEADER].coaps_start_psk('psk', 'pskIdentity') 65 self.nodes[LEADER].coaps_set_resource_path('test') 71 self.nodes[LEADER].coaps_stop() 73 self.nodes[LEADER].coaps_start_x509() [all …]
|
D | test_coap_observe.py | 36 LEADER = 1 variable 48 LEADER: { 54 'allowlist': [LEADER] 59 self.nodes[LEADER].start() 61 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 67 mleid = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.ML_EID) 69 self.nodes[LEADER].coap_start() 70 self.nodes[LEADER].coap_set_resource_path('test') 71 self.nodes[LEADER].coap_set_content('Test123') 82 self.nodes[LEADER].coap_wait_subscribe() [all …]
|
D | test_reset.py | 34 LEADER = 1 variable 42 LEADER: { 48 'allowlist': [LEADER, ED] 58 self.nodes[LEADER].start() 60 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 71 … self.assertTrue(self.nodes[ED].ping(self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.RLOC))) 74 self.nodes[LEADER].reset() 75 self.nodes[LEADER].start() 77 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 85 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER].get_addr64()) [all …]
|
D | test_ipv6_fragmentation.py | 36 LEADER = 1 variable 44 LEADER: { 52 'allowlist': [LEADER] 57 self.nodes[LEADER].start() 59 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 65 mleid_leader = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.ML_EID) 68 self.nodes[LEADER].udp_start("::", common.UDP_TEST_PORT) 71 self.nodes[LEADER].udp_send(1952, mleid_router, common.UDP_TEST_PORT) 77 self.nodes[LEADER].udp_check_rx(1831) 80 self.nodes[LEADER].udp_stop()
|
D | Cert_5_2_05_AddressQuery.py | 40 LEADER = 1 variable 79 LEADER: { 87 'allowlist': [LEADER, DUT_REED] 92 'allowlist': [LEADER] 97 'allowlist': [LEADER] 102 'allowlist': [LEADER] 107 'allowlist': [LEADER] 112 'allowlist': [LEADER] 117 'allowlist': [LEADER] 122 'allowlist': [LEADER] [all …]
|
D | Cert_5_3_01_LinkLocal.py | 37 LEADER = 1 variable 61 LEADER: { 73 self.nodes[LEADER].start() 75 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 86 self.assertTrue(self.nodes[LEADER].ping(link_local, size=FRAGMENTED_DATA_LEN)) 87 self.assertTrue(self.nodes[LEADER].ping(link_local)) 90 …self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_ALL_NODES_ADDRESS, size=FRAGMENTED_DATA_… 91 self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_ALL_NODES_ADDRESS)) 94 …self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_ALL_ROUTERS_ADDRESS, size=FRAGMENTED_DAT… 95 self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_ALL_ROUTERS_ADDRESS)) [all …]
|
D | v1_2_LowPower_test_forward_tracking_series.py | 40 LEADER = 1 variable 49 LEADER: { 59 'allowlist': [LEADER], 65 self.nodes[LEADER].start() 67 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 73 leader_addr = self.nodes[LEADER].get_ip6_address(ADDRESS_TYPE.LINK_LOCAL) 123 LEADER = pv.vars['LEADER'] 127 pkts.filter_wpan_src64(LEADER) \ 134 pkts.filter_wpan_src64(LEADER) \ 141 pkts.filter_wpan_src64(LEADER) \ [all …]
|
D | Cert_5_5_04_SplitMergeRouters.py | 36 LEADER = 1 variable 45 LEADER: { 53 'allowlist': [LEADER, ROUTER3] 58 'allowlist': [LEADER, ROUTER4] 73 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER1].get_addr64()) 74 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER2].get_addr64()) 75 self.nodes[LEADER].enable_allowlist() 76 self.nodes[LEADER].set_router_selection_jitter(1) 79 self.nodes[LEADER].start() 81 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') [all …]
|
D | v1_2_test_single_probe.py | 35 LEADER = 1 variable 44 LEADER: { 59 self.nodes[LEADER].start() 61 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 67 leader_addr = self.nodes[LEADER].get_linklocal() 69 leader_messages = self.simulator.get_messages_sent_by(LEADER) 75 leader_messages = self.simulator.get_messages_sent_by(LEADER) 83 leader_messages = self.simulator.get_messages_sent_by(LEADER) 91 leader_messages = self.simulator.get_messages_sent_by(LEADER) 99 leader_messages = self.simulator.get_messages_sent_by(LEADER) [all …]
|
D | Test_MacScan.py | 35 LEADER = 1 variable 41 LEADER: { 51 'allowlist': [LEADER] 56 self.nodes[LEADER].start() 57 self.nodes[LEADER].set_state('leader') 58 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 64 results = self.nodes[LEADER].scan()
|
D | test_service.py | 36 LEADER = 1 variable 55 LEADER: { 65 'allowlist': [LEADER, ROUTER2] 71 'allowlist': [LEADER, ROUTER1] 93 self.nodes[LEADER].start() 95 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 103 self.assertEqual(self.hasAloc(LEADER, SRV_0_ID), False) 104 self.assertEqual(self.hasAloc(LEADER, SRV_1_ID), False) 114 self.assertEqual(self.hasAloc(LEADER, SRV_0_ID), False) 115 self.assertEqual(self.hasAloc(LEADER, SRV_1_ID), False) [all …]
|
D | Cert_6_4_01_LinkLocal.py | 38 LEADER = 1 variable 63 LEADER: { 72 'allowlist': [LEADER] 77 self.nodes[LEADER].start() 79 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 88 self.assertTrue(self.nodes[LEADER].ping(dut_addr, size=FRAGMENTED_DATA_LEN)) 90 self.assertTrue(self.nodes[LEADER].ping(dut_addr)) 93 … self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_All_THREAD_NODES_MULTICAST_ADDRESS, 96 … self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_All_THREAD_NODES_MULTICAST_ADDRESS)) 100 …self.assertTrue(self.nodes[LEADER].ping(config.LINK_LOCAL_ALL_NODES_ADDRESS, size=FRAGMENTED_DATA_… [all …]
|
D | Cert_6_5_01_ChildResetReattach.py | 36 LEADER = 1 variable 42 LEADER: { 51 'allowlist': [LEADER] 56 self.nodes[ED].add_allowlist(self.nodes[LEADER].get_addr64()) 60 self.nodes[LEADER].start() 62 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 68 self.nodes[LEADER].remove_allowlist(self.nodes[ED].get_addr64()) 69 self.nodes[ED].remove_allowlist(self.nodes[LEADER].get_addr64()) 77 self.nodes[LEADER].add_allowlist(self.nodes[ED].get_addr64()) 84 self.assertTrue(self.nodes[LEADER].ping(addr)) [all …]
|
D | Cert_7_1_03_BorderRouterAsLeader.py | 40 LEADER = 1 variable 71 LEADER: { 79 'allowlist': [LEADER] 86 'allowlist': [LEADER] 92 'allowlist': [LEADER] 101 self.nodes[LEADER].start() 103 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 117 self.nodes[LEADER].add_prefix(PREFIX_2001, 'paros') 118 self.nodes[LEADER].add_prefix(PREFIX_2002, 'paro') 119 self.nodes[LEADER].register_netdata() [all …]
|
D | Cert_5_1_01_RouterAttach.py | 40 LEADER = 1 variable 64 LEADER: { 72 'allowlist': [LEADER] 77 self.nodes[LEADER].start() 79 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 87 leader_addr = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.LINK_LOCAL) 92 self.assertTrue(self.nodes[LEADER].ping(router_addr)) 98 LEADER = pv.vars['LEADER'] 110 pkts.filter_wpan_src64(LEADER).\ 160 pkts.filter_wpan_src64(LEADER).\ [all …]
|
D | Cert_7_1_01_BorderRouterAsLeader.py | 39 LEADER = 1 variable 70 LEADER: { 78 'allowlist': [LEADER] 85 'allowlist': [LEADER] 91 'allowlist': [LEADER] 100 self.nodes[LEADER].start() 102 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 104 self.nodes[LEADER].add_prefix(PREFIX_2001, 'paros') 105 self.nodes[LEADER].add_prefix(PREFIX_2002, 'paro') 106 self.nodes[LEADER].register_netdata() [all …]
|
D | Cert_5_2_04_REEDUpgrade.py | 40 LEADER = 1 variable 78 LEADER: { 86 'allowlist': [LEADER] 91 'allowlist': [LEADER] 96 'allowlist': [LEADER] 101 'allowlist': [LEADER] 106 'allowlist': [LEADER] 111 'allowlist': [LEADER] 116 'allowlist': [LEADER] 121 'allowlist': [LEADER] [all …]
|
D | v1_2_test_enhanced_frame_pending.py | 51 LEADER = 1 variable 63 LEADER: { 76 self.nodes[LEADER].start() 78 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 84 self.nodes[LEADER].udp_start('::', common.UDP_TEST_PORT) 88 … self.assertTrue(self.nodes[SED_1].ping(self.nodes[LEADER].get_rloc(), timeout=CHILD_TIMEOUT)) 93 … self.nodes[LEADER].udp_send(UDP_BYTES_COUNT, self.nodes[SED_1].get_rloc(), common.UDP_TEST_PORT) 101 … self.nodes[SED_1].udp_send(UDP_BYTES_COUNT, self.nodes[LEADER].get_rloc(), common.UDP_TEST_PORT) 103 self.nodes[LEADER].udp_check_rx(UDP_BYTES_COUNT)
|
D | Cert_5_3_05_RoutingLinkQuality.py | 37 LEADER = 1 variable 64 LEADER: { 72 'allowlist': [LEADER, ROUTER2, ROUTER3] 77 'allowlist': [LEADER, DUT_ROUTER1] 88 self.nodes[LEADER].start() 90 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 103 leader_rloc = self.nodes[LEADER].get_ip6_address(config.ADDRESS_TYPE.RLOC) 107 …self.nodes[LEADER].add_allowlist(self.nodes[DUT_ROUTER1].get_addr64(), config.RSSI['LINK_QULITY_1'… 108 …self.nodes[DUT_ROUTER1].add_allowlist(self.nodes[LEADER].get_addr64(), config.RSSI['LINK_QULITY_1'… 114 …self.nodes[LEADER].add_allowlist(self.nodes[DUT_ROUTER1].get_addr64(), config.RSSI['LINK_QULITY_2'… [all …]
|
D | Cert_9_2_04_ActiveDataset.py | 38 LEADER = 2 variable 52 'allowlist': [LEADER] 54 LEADER: { 66 self.nodes[LEADER].start() 68 self.assertEqual(self.nodes[LEADER].get_state(), 'leader') 78 self.collect_leader_aloc(LEADER) 87 self.assertEqual(self.nodes[LEADER].get_network_name(), 'GRL') 101 self.assertEqual(self.nodes[LEADER].get_network_name(), 'GRL') 113 self.assertEqual(self.nodes[LEADER].get_network_name(), 'GRL') 126 self.assertEqual(self.nodes[LEADER].get_network_name(), 'GRL') [all …]
|