Home
last modified time | relevance | path

Searched refs:ROUTER (Results 1 – 25 of 74) sorted by relevance

123

/openthread-latest/tests/scripts/thread-cert/
Dtest_ipv6_source_selection.py37 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
61 self.nodes[ROUTER].start()
63 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
72 router_rloc = self.nodes[ROUTER].get_rloc()
73 router_linklocal = self.nodes[ROUTER].get_linklocal()
74 router_mleid = self.nodes[ROUTER].get_mleid()
77 self.assertTrue(self.nodes[ROUTER].ping(leader_rloc))
78 router_msgs = self.simulator.get_messages_sent_by(ROUTER)
[all …]
Dtest_coaps.py36 ROUTER = 2 variable
45 'allowlist': [ROUTER]
47 ROUTER: {
58 self.nodes[ROUTER].start()
60 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
66 self.nodes[ROUTER].coaps_start_psk('psk', 'pskIdentity')
67 self.nodes[ROUTER].coaps_connect(mleid)
68 self.nodes[ROUTER].coaps_get()
69 self.nodes[ROUTER].coaps_disconnect()
70 self.nodes[ROUTER].coaps_stop()
[all …]
DCert_7_1_05_BorderRouterAsRouter.py39 ROUTER = 2 variable
76 'allowlist': [ROUTER]
78 ROUTER: {
87 'allowlist': [ROUTER]
94 'allowlist': [ROUTER]
103 self.nodes[ROUTER].start()
105 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
115 self.nodes[ROUTER].add_prefix(PREFIX_2001, 'paros')
116 self.nodes[ROUTER].add_prefix(PREFIX_2002, 'paro')
117 self.nodes[ROUTER].add_prefix(PREFIX_2003, 'paos')
[all …]
Dtest_coap_block.py37 ROUTER = 2 variable
50 'whitelist': [ROUTER]
52 ROUTER: {
63 self.nodes[ROUTER].start()
65 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
72 self.nodes[ROUTER].coap_start()
75 response = self.nodes[ROUTER].coap_get_block(mleid, 'test', size=32)
80 self.nodes[ROUTER].coap_put_block(mleid, 'test', size=256, count=2)
81 request = self.nodes[ROUTER].coap_wait_request()
86 self.nodes[ROUTER].coap_post_block(mleid, 'test', size=1024, count=2)
[all …]
Dtest_ipv6_fragmentation.py37 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
61 self.nodes[ROUTER].start()
63 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
66 mleid_router = self.nodes[ROUTER].get_ip6_address(config.ADDRESS_TYPE.ML_EID)
69 self.nodes[ROUTER].udp_start("::", common.UDP_TEST_PORT)
73 self.nodes[ROUTER].udp_check_rx(1952)
75 self.nodes[ROUTER].udp_send(1831, mleid_leader, common.UDP_TEST_PORT)
79 self.nodes[ROUTER].udp_stop()
DCert_5_1_07_MaxChildCount.py39 ROUTER = 2 variable
73 'allowlist': [ROUTER]
75 ROUTER: {
86 'allowlist': [ROUTER]
93 'allowlist': [ROUTER]
100 'allowlist': [ROUTER]
107 'allowlist': [ROUTER]
114 'allowlist': [ROUTER]
121 'allowlist': [ROUTER]
128 'allowlist': [ROUTER]
[all …]
DCert_5_1_13_RouterReset.py40 ROUTER = 2 variable
67 'allowlist': [ROUTER]
69 ROUTER: {
77 self.nodes[ROUTER].add_allowlist(self.nodes[LEADER].get_addr64())
78 self.nodes[ROUTER].enable_allowlist()
79 self.nodes[ROUTER].set_router_selection_jitter(1)
86 self.nodes[ROUTER].start()
88 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
91 self.nodes[ROUTER].reset()
95 self.nodes[ROUTER].start()
[all …]
Dtest_coap_observe.py37 ROUTER = 2 variable
50 'allowlist': [ROUTER]
52 ROUTER: {
63 self.nodes[ROUTER].start()
65 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
73 self.nodes[ROUTER].coap_start()
74 response = self.nodes[ROUTER].coap_observe(mleid, 'test', con=con)
91 response = self.nodes[ROUTER].coap_wait_response()
97 self.nodes[ROUTER].coap_cancel()
100 response = self.nodes[ROUTER].coap_wait_response()
[all …]
DCert_5_1_01_RouterAttach.py41 ROUTER = 2 variable
67 'allowlist': [ROUTER]
69 ROUTER: {
81 self.nodes[ROUTER].start()
83 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
88 self.assertTrue(self.nodes[ROUTER].ping(leader_addr))
91 router_addr = self.nodes[ROUTER].get_ip6_address(config.ADDRESS_TYPE.LINK_LOCAL)
100 ROUTER = pv.vars['ROUTER']
134 pkts.filter_wpan_src64(ROUTER).\
161 filter_wpan_dst64(ROUTER).\
[all …]
Dtest_reset.py35 ROUTER = 2 variable
44 'allowlist': [ROUTER]
46 ROUTER: {
53 'allowlist': [ROUTER]
62 self.nodes[ROUTER].start()
64 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
79 self.nodes[ROUTER].reset()
80 self.nodes[ROUTER].start()
82 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
85 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER].get_addr64())
Dtest_dataset_updater.py36 ROUTER = 2 variable
50 ROUTER: {
57 'allowlist': [ROUTER],
63 'allowlist': [ROUTER],
72 self.nodes[ROUTER].start()
74 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
92 self.nodes[ROUTER].start_dataset_updater(channel=13)
99 self.nodes[ROUTER].start_dataset_updater(channel=15)
104 self.nodes[ROUTER].start_dataset_updater(channel=16)
112 self.assertEqual(self.nodes[ROUTER].get_channel(), channel)
Dtest_on_mesh_prefix.py36 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
56 'allowlist': [ROUTER]
62 'allowlist': [ROUTER]
71 self.nodes[ROUTER].start()
73 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
83 self.nodes[ROUTER].add_prefix('2001:2:0:1::/64', 'paros')
84 self.nodes[ROUTER].add_prefix('2001:2:0:2::/64', 'paro')
85 self.nodes[ROUTER].register_netdata()
[all …]
DCert_5_1_02_ChildAddressTimeout.py39 ROUTER = 2 variable
71 'allowlist': [ROUTER]
73 ROUTER: {
83 'allowlist': [ROUTER]
90 'allowlist': [ROUTER]
99 self.nodes[ROUTER].start()
101 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
127 ROUTER = pv.vars['ROUTER']
138 pkts.filter_wpan_src64(ROUTER).\
143 pkts.filter_wpan_src64(ROUTER).\
[all …]
DCert_6_3_01_OrphanReattach.py38 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
59 'allowlist': [ROUTER]
68 self.nodes[ROUTER].start()
70 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
77 self.nodes[ROUTER].stop()
93 ROUTER = pv.vars['ROUTER']
102 … _epkts.filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).filter_wpan_dst64(ROUTER).must_next().must_verify(
Dv1_2_LowPower_test_link_metrics_manager.py42 ROUTER = 2 variable
75 'allowlist': [ROUTER, CHILD],
77 ROUTER: {
97 self.nodes[ROUTER].start()
99 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
102 router_addr = self.nodes[ROUTER].get_ip6_address(ADDRESS_TYPE.LINK_LOCAL)
138 ROUTER = pv.vars['ROUTER']
153 .filter_wpan_dst64(ROUTER) \
163 pkts.filter_wpan_src64(ROUTER) \
171 .filter_wpan_dst64(ROUTER) \
[all …]
DCert_9_2_07_DelayTimer.py41 ROUTER = 3 variable
71 ROUTER: {
92 self.nodes[ROUTER].start()
94 self.assertEqual(self.nodes[ROUTER].get_state(), 'leader')
96 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER].get_addr64())
97 self.nodes[ROUTER].add_allowlist(self.nodes[LEADER].get_addr64())
101 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
103 self.nodes[ROUTER].commissioner_start()
105 self.nodes[ROUTER].send_mgmt_active_set(active_timestamp=ROUTER_ACTIVE_TIMESTAMP,)
108 self.nodes[ROUTER].send_mgmt_pending_set(
[all …]
DCert_9_2_05_ActiveDataset.py37 ROUTER = 1 variable
61 ROUTER: {
73 'allowlist': [ROUTER]
82 self.nodes[ROUTER].start()
84 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
86 self.nodes[ROUTER].commissioner_start()
94 self.nodes[ROUTER].send_mgmt_active_set(
111 self.nodes[ROUTER].send_mgmt_active_set(
128 self.nodes[ROUTER].send_mgmt_active_set(
144 self.nodes[ROUTER].send_mgmt_active_set(
[all …]
Dtest_mac_scan.py36 ROUTER = 2 variable
50 'allowlist': [ROUTER]
52 ROUTER: {
65 self.nodes[ROUTER].start()
67 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
73 self.assertEqual(network['extaddr'], self.nodes[ROUTER].get_addr64())
DCert_7_1_04_BorderRouterAsRouter.py39 ROUTER = 2 variable
51 'allowlist': [ROUTER]
53 ROUTER: {
62 'allowlist': [ROUTER]
69 'allowlist': [ROUTER]
78 self.nodes[ROUTER].start()
80 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
91 self.nodes[ROUTER].add_prefix('2001:2:0:1::/64', 'paros')
92 self.nodes[ROUTER].add_prefix('2001:2:0:2::/64', 'paro')
93 self.nodes[ROUTER].register_netdata()
[all …]
Dv1_2_test_dua_handle_address_error.py38 ROUTER = 2 variable
65 'allowlist': [ROUTER],
68 ROUTER: {
74 'allowlist': [ROUTER],
81 'allowlist': [ROUTER],
105 self.nodes[ROUTER].start()
107 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
119 self._verify_dua_handle_address_error(ROUTER)
134 self.nodes[ROUTER].send_address_notification(pbbr_rloc, dua, f'000000000000{nodeid:04x}')
DCert_5_8_02_KeyIncrement.py38 ROUTER = 2 variable
46 'allowlist': [ROUTER]
48 ROUTER: {
60 self.nodes[ROUTER].start()
62 self.assertEqual(self.nodes[ROUTER].get_state(), "router")
65 addrs = self.nodes[ROUTER].get_addrs()
73 addrs = self.nodes[ROUTER].get_addrs()
83 ROUTER = pv.vars['ROUTER']
85 router_pkts = pkts.filter_wpan_src64(ROUTER)
DCert_5_8_03_KeyIncrementRollOver.py38 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
61 self.nodes[ROUTER].start()
63 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
66 addrs = self.nodes[ROUTER].get_addrs()
74 addrs = self.nodes[ROUTER].get_addrs()
84 ROUTER = pv.vars['ROUTER']
86 router_pkts = pkts.filter_wpan_src64(ROUTER)
/openthread-latest/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing.py40 ROUTER = 3 variable
79 'allowlist': [SBBR, ROUTER, LEADER],
86 'allowlist': [PBBR, ROUTER, LEADER],
91 ROUTER: {
98 'allowlist': [PBBR, SBBR, ROUTER],
103 'allowlist': [ROUTER],
109 'allowlist': [ROUTER],
115 'allowlist': [ROUTER],
135 self.nodes[ROUTER].start()
137 self.assertEqual('router', self.nodes[ROUTER].get_state())
[all …]
Dtest_mle_must_not_send_icmpv6_destination_unreachable.py39 ROUTER = 2 variable
54 'allowlist': [ROUTER],
58 ROUTER: {
73 self.nodes[ROUTER].start()
75 self.assertEqual('router', self.nodes[ROUTER].get_state())
90 ROUTER = pv.vars['ROUTER']
93 pkts.filter_wpan_src64(PBBR).filter_wpan_dst64(ROUTER).filter(
Dtest_mlr_multicast_routing_timeout.py38 ROUTER = 2 variable
62 'allowlist': [ROUTER],
67 ROUTER: {
94 self.nodes[ROUTER].start()
96 self.assertEqual('router', self.nodes[ROUTER].get_state())
106 self.nodes[ROUTER].add_ipmaddr(MA1)
114 self.nodes[ROUTER].del_ipmaddr(MA1)
132 ROUTER = pv.vars['ROUTER']
141 … pkts.filter_wpan_src64(ROUTER).filter_coap_request('/n/mr', port=MM).must_next().must_verify(
160 pkts.filter_wpan_src64(ROUTER).filter_ipv6_dst(HOST_BGUA).filter_ping_reply(
[all …]

123