Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 12 of 12) sorted by relevance

/openthread-3.7.0/tests/toranj/ncp/
Dtest-037-wpantund-auto-add-route-for-on-mesh-prefix.py61 if (node_route.route_prefix, node_route.prefix_len, node_route.metric) == route:
127 r2.add_prefix(PREFIX1, prefix_len=LEN1, on_mesh=True, slaac=False)
128 r2.add_prefix(PREFIX2, prefix_len=LEN2, on_mesh=True, slaac=True)
129 r2.add_prefix(PREFIX3, prefix_len=LEN2, on_mesh=False, slaac=False)
130 r2.add_route(ROUTE5, prefix_len=LEN5, priority=MEDIUM_PRIORITY)
141 r2.remove_prefix(PREFIX1, prefix_len=LEN1)
142 r2.remove_prefix(PREFIX2, prefix_len=LEN2)
143 r2.remove_prefix(PREFIX3, prefix_len=LEN2)
144 r2.remove_route(ROUTE5, prefix_len=LEN5)
157 r1.add_ip6_address_on_interface(ADDRESS1, prefix_len=LEN1)
[all …]
Dtest-036-wpantund-host-route-management.py65 if (node_route.route_prefix, node_route.prefix_len, node_route.metric) == route:
155 r2.add_route(ROUTE1, prefix_len=LEN1, priority=LOW_PRIORITY)
156 r2.add_route(ROUTE2, prefix_len=LEN2, priority=MEDIUM_PRIORITY)
157 r2.add_route(ROUTE3, prefix_len=LEN3, priority=HIGH_PRIORITY)
171 r3.add_route(ROUTE1, prefix_len=LEN1, priority=MEDIUM_PRIORITY)
172 r3.add_route(ROUTE2, prefix_len=LEN2, priority=LOW_PRIORITY)
187 r2.remove_route(ROUTE1, prefix_len=LEN1)
188 r2.remove_route(ROUTE2, prefix_len=LEN2)
189 r2.remove_route(ROUTE3, prefix_len=LEN3)
217 r1.add_route(ROUTE1, prefix_len=LEN1, priority=LOW_PRIORITY)
[all …]
Dtest-015-same-prefix-on-multiple-nodes.py88 r2.add_ip6_address_on_interface(IP6_ADDR_2, prefix_len=64)
98 … if (p.origin == 'ncp' and p.prefix_len == '64' and p.is_stable() and p.is_on_mesh() and
109 r1.add_ip6_address_on_interface(IP6_ADDR_1, prefix_len=64)
117 r2.remove_ip6_address_on_interface(IP6_ADDR_2, prefix_len=64)
125 r1.remove_ip6_address_on_interface(IP6_ADDR_1, prefix_len=64)
138 r1.add_ip6_address_on_interface(IP6_ADDR_1, prefix_len=64)
139 r2.add_ip6_address_on_interface(IP6_ADDR_2, prefix_len=64)
Dtest-014-ip6-address-add.py117 r2.add_ip6_address_on_interface(IP6_ADDR_1, prefix_len=64)
118 fed1.add_ip6_address_on_interface(IP6_ADDR_2, prefix_len=64)
119 sed2.add_ip6_address_on_interface(IP6_ADDR_3, prefix_len=64)
136 verify(p.prefix_len == '64')
166 r2.remove_ip6_address_on_interface(IP6_ADDR_1, prefix_len=64)
Dwpan.py490 prefix_len=None, argument
499 …return self.wpanctl('add-prefix ' + prefix + (' -l {}'.format(prefix_len) if prefix_len is not Non…
505 def remove_prefix(self, prefix, prefix_len=None): argument
507 (' -l {}'.format(prefix_len) if prefix_len is not None else ''))
509 def add_route(self, route_prefix, prefix_len=None, priority=None, stable=True): argument
512 (' -l {}'.format(prefix_len) if prefix_len is not None else '') +
515 def remove_route(self, route_prefix, prefix_len=None, priority=None, stable=True): argument
518 (' -l {}'.format(prefix_len) if prefix_len is not None else '') +
598 def add_ip6_address_on_interface(self, address, prefix_len=64): argument
605 '/{} dev '.format(prefix_len) + self.interface_name
[all …]
Dtest-024-partition-merge.py63 prefix_len=64, argument
80 verify(int(p.prefix_len) == prefix_len)
Dtest-010-on-mesh-prefix-config-gateway.py63 prefix_len=64, argument
80 verify(int(p.prefix_len) == prefix_len)
Dtest-025-network-data-timeout.py61 prefix_len=64, argument
79 verify(int(p.prefix_len) == prefix_len)
Dtest-026-slaac-address-wpantund.py68 prefix_len=64, argument
85 … if (int(p.prefix_len) == prefix_len and p.is_stable() == stable and p.is_on_mesh() == on_mesh and
Dtest-040-network-data-stable-full.py65 prefix_len=64, argument
83 verify(int(p.prefix_len) == prefix_len)
Dtest-030-slaac-address-ncp.py76 prefix_len=64, argument
93 … if (int(p.prefix_len) == prefix_len and p.is_stable() == stable and p.is_on_mesh() == on_mesh and
/openthread-3.7.0/tests/scripts/thread-cert/
Dcommand.py252 prefix_len = 64 - len(router_id_mask_str)
255 for i in range(0, router_id - prefix_len):
259 assert router_id_mask_str[router_id - prefix_len] == '1', \