Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tests/toranj/cli/
Dtest-021-br-route-prf.py98 routes = br.get_netdata_routes()
99 verify(len(routes) == 1)
100 verify(routes[0].startswith('fc00::/7 sa med'))
119 routes = br.get_netdata_routes()
120 verify(len(routes) == 1)
121 verify(routes[0].startswith('fc00::/7 sa low'))
136 routes = br.get_netdata_routes()
137 verify(len(routes) == 1)
138 verify(routes[0].startswith('fc00::/7 sa high'))
149 routes = br.get_netdata_routes()
[all …]
Dtest-504-br-icmp-unreach-err.py120 routes = node.get_netdata_routes() variable
121 verify(len(routes) == 1)
122 verify(routes[0].startswith('::/0 s'))
Dtest-017-network-data-versions.py311 routes = node.get_netdata_routes()
312 verify('fd00:1:0:0::/64 s med ' + r3_rloc in routes)
313 verify('fd00:2:0:0::/64 med ' + r3_rloc in routes)
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_external_route.py151 routes = []
157 routes.append(ipaddress.IPv6Network(prefix))
158 return routes
161 routes = []
163 routes.append(ipaddress.IPv6Network(entry.split()[1]))
164 return routes
/openthread-latest/tests/scripts/thread-cert/
Dtest_netdata_publisher.py178 def check_num_of_routes(self, routes, num_low, num_med, num_high): argument
184 self.assertEqual(len(routes), min(num_high + num_med + num_low, DESIRED_NUM_EXTERNAL_ROUTE))
185 prfs = [route.split(' ')[2] for route in routes]
529 routes = leader.get_routes()
530 self.check_num_of_routes(routes, num, 0, 0)
536 routes = leader.get_routes()
537 self.check_num_of_routes(routes, num - 1, 0, 1)
542 routes = leader.get_routes()
543 self.assertEqual([route.split(' ')[0] == '::/0' for route in routes].count(True), 1)
548 routes = leader.get_routes()
[all …]
Dnetwork_data.py125 routes = []
130 routes.append(route)
132 return routes
137 def __init__(self, routes, stable): argument
139 self._routes = routes
142 def routes(self): member in HasRoute
148 return self.routes == other.routes
151 routes_str = ", ".join(["{}".format(route) for route in self.routes])
161 routes = self._routes_factory.parse(data, message_info)
163 return HasRoute(routes, message_info.stable)
Dtest_network_data.py45 def convert_routes_to_bytearray(routes): argument
47 for route in routes:
54 return convert_routes_to_bytearray(has_route.routes)
337 routes = any_routes()
341 data = convert_routes_to_bytearray(routes)
347 self.assertEqual(routes, actual_routes)
354 routes = any_routes()
356 has_route = network_data.HasRoute(routes, any_stable())
359 actual_routes = has_route.routes
362 self.assertEqual(routes, actual_routes)
[all …]
Dnode.py2310 routes = self.get_routes()
2311 for route in routes:
2318 routes = self.get_routes()
2319 for route in routes:
/openthread-latest/tests/unit/
Dtest_network_data.cpp125 otExternalRouteConfig routes[] = { in TestNetworkDataIterator() local
164 for (const auto &route : routes) in TestNetworkDataIterator()
211 otExternalRouteConfig routes[] = { in TestNetworkDataIterator() local
286 for (const auto &route : routes) in TestNetworkDataIterator()
337 otExternalRouteConfig routes[] = { in TestNetworkDataIterator() local
454 for (const auto &route : routes) in TestNetworkDataIterator()
/openthread-latest/src/cli/
DREADME_BR.md355 Get the preference used for publishing routes in Thread Network Data. This may be the automatically…
367 Set the preference (which may be 'high', 'med', or 'low') to use publishing routes in Thread Networ…
378 Clear a previously set preference value for publishing routes in Thread Network Data. When cleared …
DREADME_NETDATA.md7 …ter prefixes assigned to the Thread Network and prefixes that they offer routes for. Services may …
328 Register configured prefixes, routes, and services with the Leader.
339 Print entries in Network Data, on-mesh prefixes, external routes, services, and 6LoWPAN context inf…
/openthread-latest/etc/gn/
Dopenthread.gni180 # Enable MLE long routes extension (experimental, breaks Thread conformance]
/openthread-latest/src/posix/platform/
DCMakeLists.txt55 option(OT_POSIX_INSTALL_EXTERNAL_ROUTES "Install External Routes as IPv6 routes" ON)
/openthread-latest/tools/harness-thci/
DOpenThread.py1704 prefixes, routes, services, contexts, commissioning = [], [], [], []
1711 classify = routes
1725 'Routes': routes,
/openthread-latest/tools/otci/otci/
Dotci.py1673 routes = []
1684 routes.append((prefix, stable, prf, rloc16))
1686 return routes
/openthread-latest/etc/cmake/
Doptions.cmake224 ot_option(OT_MLE_LONG_ROUTES OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE "MLE long routes extension (e…
/openthread-latest/tests/toranj/
DREADME_NCP.md139 - On-mesh prefixes and off-mesh routes: