Home
last modified time | relevance | path

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

/openthread-latest/tests/toranj/cli/
Dtest-602-channel-manager-channel-select.py88 result = cli.Node.parse_list(node.cli('channel monitor')[:5])
96 result = cli.Node.parse_list(node.cli('channel manager'))
103 result = cli.Node.parse_list(node.cli('channel manager'))
122 result = cli.Node.parse_list(node.cli('channel manager'))
141 result = cli.Node.parse_list(node.cli('channel manager'))
153 result = cli.Node.parse_list(node.cli('channel manager'))
170 result = cli.Node.parse_list(node.cli('channel manager'))
197 result = cli.Node.parse_list(node.cli('channel manager'))
215 result = cli.Node.parse_list(node.cli('channel manager'))
Dtest-034-fed-parent-search.py120 verify(int(cli.Node.parse_list(fed.get_mle_counter())['Better Parent Attach Attempts']) == 0)
130 verify(int(cli.Node.parse_list(fed.get_mle_counter())['Better Parent Attach Attempts']) == 1)
146 verify(int(cli.Node.parse_list(fed.get_mle_counter())['Better Parent Attach Attempts']) == 1)
158 counters = cli.Node.parse_list(fed.get_mle_counter())
Dtest-016-child-mode-change.py120 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
149 verify(int(cli.Node.parse_list(child1.get_mle_counter())['Role Detached']) == 2)
178 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
207 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
Dtest-012-reset-recovery.py90 verify(int(cli.Node.parse_list(child1.get_mle_counter())['Role Detached']) == 1)
91 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
Dtest-601-channel-manager-channel-change.py109 result = cli.Node.parse_list(r1.cli('channel manager'))
Dcli.py458 leaderdata = Node.parse_list(self.cli('leaderdata'))
497 return Node.parse_list(self.cli('counters ip'))
500 return Node.parse_list(self.cli('counters mac'))
964 def parse_list(cls, list_lines): member in Node
/openthread-latest/tests/toranj/ncp/
Dtest-019-inform-previous-parent.py108 child_table = wpan.parse_list(parent2.get(wpan.WPAN_THREAD_CHILD_TABLE))
134 child_num_state_changes = len(wpan.parse_list(child.get("stat:ncp")))
138 verify(len(wpan.parse_list(child.get("stat:ncp"))) > child_num_state_changes)
145 child_table = wpan.parse_list(parent1.get(wpan.WPAN_THREAD_CHILD_TABLE))
154 child_table = wpan.parse_list(parent2.get(wpan.WPAN_THREAD_CHILD_TABLE))
Dtest-700-multi-radio-join.py73 parent_radios = wpan.parse_list(parent.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
78 c1_radios = wpan.parse_list(c1.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
81 c2_radios = wpan.parse_list(c2.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
84 c3_radios = wpan.parse_list(c3.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
107 node_radios = wpan.parse_list(node.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
Dtest-017-parent-reset-child-recovery.py131 child_table = wpan.parse_list(parent.get(wpan.WPAN_THREAD_CHILD_TABLE))
141 child_num_state_changes.append(len(wpan.parse_list(child.get("stat:ncp"))))
160 if child_num_state_changes[i] == len(wpan.parse_list(all_children[i].get("stat:ncp"))):
Dtest-022-multicast-ip6-address.py75 addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_MULTICAST_ADDRESSES))
126 addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_MULTICAST_ADDRESSES))
130 addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_MULTICAST_ADDRESSES))
Dtest-038-clear-address-cache-for-sed.py147 child_table = wpan.parse_list(r2.get(wpan.WPAN_THREAD_CHILD_TABLE))
154 child_table = wpan.parse_list(r1.get(wpan.WPAN_THREAD_CHILD_TABLE))
181 child_table = wpan.parse_list(r1.get(wpan.WPAN_THREAD_CHILD_TABLE))
188 child_table = wpan.parse_list(r3.get(wpan.WPAN_THREAD_CHILD_TABLE))
Dtest-021-address-cache-table.py197 child_table = wpan.parse_list(r2.get(wpan.WPAN_THREAD_CHILD_TABLE))
205 child_table = wpan.parse_list(r3.get(wpan.WPAN_THREAD_CHILD_TABLE))
280 child_table = wpan.parse_list(r3.get(wpan.WPAN_THREAD_CHILD_TABLE))
288 child_table = wpan.parse_list(r2.get(wpan.WPAN_THREAD_CHILD_TABLE))
348 child_table = wpan.parse_list(r2.get(wpan.WPAN_THREAD_CHILD_TABLE))
356 child_table = wpan.parse_list(r3.get(wpan.WPAN_THREAD_CHILD_TABLE))
Dtest-040-network-data-stable-full.py279 verify(len(wpan.parse_list(c2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == num_routes)
284 verify(len(wpan.parse_list(c2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == num_routes)
288 verify(len(wpan.parse_list(c2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == num_routes)
293 verify(len(wpan.parse_list(c2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == num_routes)
298 verify(len(wpan.parse_list(c2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == num_routes)
Dtest-013-off-mesh-route-traffic.py147 …verify(len(wpan.parse_list(r1.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == NUM_ROUTES + NUM_ROUTES_L…
148 …verify(len(wpan.parse_list(r2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == NUM_ROUTES + NUM_ROUTES_L…
149 verify(len(wpan.parse_list(sed2.get(wpan.WPAN_THREAD_OFF_MESH_ROUTES))) == NUM_ROUTES)
Dtest-032-child-attach-with-multiple-ip-addresses.py60 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
185 child_num_state_changes = len(wpan.parse_list(child.get("stat:ncp")))
199 verify(child_num_state_changes == len(wpan.parse_list(child.get("stat:ncp"))))
Dtest-703-multi-radio-mesh-header-msg.py103 r1_radios = wpan.parse_list(r1.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
106 r2_radios = wpan.parse_list(r2.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
110 r3_radios = wpan.parse_list(r3.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
Dtest-026-slaac-address-wpantund.py52 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
61 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
226 r1_addrs = wpan.parse_list(r1.get(wpan.WPAN_IP6_ALL_ADDRESSES))
242 r1_addrs = wpan.parse_list(r1.get(wpan.WPAN_IP6_ALL_ADDRESSES))
Dtest-030-slaac-address-ncp.py60 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
69 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
257 r1_addrs = wpan.parse_list(r1.get(wpan.WPAN_IP6_ALL_ADDRESSES))
286 r1_addrs = wpan.parse_list(r1.get(wpan.WPAN_IP6_ALL_ADDRESSES))
Dtest-024-partition-merge.py197 verify(len(wpan.parse_list(r1.get(wpan.WPAN_THREAD_CHILD_TABLE))) == 1)
198 verify(len(wpan.parse_list(r2.get(wpan.WPAN_THREAD_CHILD_TABLE))) == 1)
Dtest-701-multi-radio-probe.py106 r1_radios = wpan.parse_list(r1.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
110 r2_radios = wpan.parse_list(r2.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
Dtest-702-multi-radio-discovery-by-rx.py106 r1_radios = wpan.parse_list(r1.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
110 r2_radios = wpan.parse_list(r2.get(wpan.WPAN_OT_SUPPORTED_RADIO_LINKS))
Dtest-033-mesh-local-prefix-change.py98 verify(len(wpan.parse_list(node2.get(wpan.WPAN_IP6_ALL_ADDRESSES))) == 2)
Dtest-042-meshcop-joiner-discerner.py116 verify(len(wpan.parse_list(commr.get(wpan.WPAN_THREAD_COMMISSIONER_JOINERS))) == 3)
Dtest-010-on-mesh-prefix-config-gateway.py56 all_addrs = wpan.parse_list(node.get(wpan.WPAN_IP6_ALL_ADDRESSES))
Dwpan.py594 all_addrs = parse_list(self.get(WPAN_IP6_ALL_ADDRESSES))
1127 def parse_list(list_string): function