/openthread-3.7.0/tests/toranj/ncp/ |
D | test-037-wpantund-auto-add-route-for-on-mesh-prefix.py | 61 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 …]
|
D | test-036-wpantund-host-route-management.py | 65 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 …]
|
D | test-015-same-prefix-on-multiple-nodes.py | 88 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)
|
D | test-014-ip6-address-add.py | 117 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)
|
D | wpan.py | 490 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 …]
|
D | test-024-partition-merge.py | 63 prefix_len=64, argument 80 verify(int(p.prefix_len) == prefix_len)
|
D | test-010-on-mesh-prefix-config-gateway.py | 63 prefix_len=64, argument 80 verify(int(p.prefix_len) == prefix_len)
|
D | test-025-network-data-timeout.py | 61 prefix_len=64, argument 79 verify(int(p.prefix_len) == prefix_len)
|
D | test-026-slaac-address-wpantund.py | 68 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
|
D | test-040-network-data-stable-full.py | 65 prefix_len=64, argument 83 verify(int(p.prefix_len) == prefix_len)
|
D | test-030-slaac-address-ncp.py | 76 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/ |
D | command.py | 252 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', \
|