Home
last modified time | relevance | path

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

12

/external/openthread/tests/scripts/thread-cert/
Dv1_2_test_multicast_listener_registration.py302 self.assertNotIn(ipaddress.IPv6Address("ff04::1"), bbr.multicast_listener_list())
332 self.assertIn(ipaddress.IPv6Address("ff04::4"), bbr.multicast_listener_list())
403 self.assertEqual(set(failed_ips), {ipaddress.IPv6Address(ip)})
410 …self.assertEqual(set(failed_ips), {ipaddress.IPv6Address("ff02::1"), ipaddress.IPv6Address("2001::…
423 addrs = map(ipaddress.IPv6Address, addrs)
456 all_mas.add(ipaddress.IPv6Address(ip))
475 all_mas.add(ipaddress.IPv6Address(ip))
498 table.add(ipaddress.IPv6Address(f"ff04::{i}"))
644 self.assertIn(ipaddress.IPv6Address(addr), reg_mas)
646 self.assertEqual(1, reg_mas.count(ipaddress.IPv6Address(addr)))
[all …]
Dtest_dnssd.py114 self.assertEqual(set(ipaddress.IPv6Address(ip) for ip, _ in answers),
115 set(map(ipaddress.IPv6Address, client1_addrs)))
118 self.assertEqual(set(ipaddress.IPv6Address(ip) for ip, _ in answers),
119 set(map(ipaddress.IPv6Address, client2_addrs)))
220 …self.assertIn(ipaddress.IPv6Address(instance['address']), map(ipaddress.IPv6Address, verify_addres…
Dfind_border_agents.py54 def get_ipaddr_priority(addr: ipaddress.IPv6Address): argument
88 … if not isinstance(addr, ipaddress.IPv6Address) or addr.is_multicast or addr.is_loopback:
91 … if not ba.addr or get_ipaddr_priority(addr) > get_ipaddr_priority(ipaddress.IPv6Address(ba.addr)):
Dtest_set_mliid.py58 … self.assertEqual(b'\x11\x22\x33\x44\x55\x66\x77\x88', ipaddress.IPv6Address(mleid).packed[-8:])
71 … self.assertEqual(b'\x11\x22\x33\x44\x55\x66\x77\x88', ipaddress.IPv6Address(mleid).packed[-8:])
Dnetwork_diag.py61 def __init__(self, addresses: List[ipaddress.IPv6Address]): argument
81 addresses.append(ipaddress.IPv6Address(data.read(16)))
Dnode.py42 from ipaddress import IPv6Address, IPv6Network
1363 def multicast_listener_list(self) -> Dict[IPv6Address, int]:
1371 ip = IPv6Address(line[0])
1384 def multicast_listener_add(self, ip: Union[IPv6Address, str], timeout: int = 0): argument
1385 if not isinstance(ip, IPv6Address):
1386 ip = IPv6Address(ip)
1397 def register_multicast_listener(self, *ipaddrs: Union[IPv6Address, str], timeout=None): argument
1412 failed_ips = list(map(IPv6Address, lines[1:]))
1746 ml_eid = IPv6Address(self.get_mleid())
1889 def get_ip6_address_by_prefix(self, prefix: Union[str, IPv6Network]) -> List[IPv6Address]:
[all …]
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py308 factory = ipaddress.IPv6Address
312 v6 = ipaddress.IPv6Address("::1.2.3.42")
355 ipaddress.IPv6Address(addr)
363 ipaddress.IPv6Address(addr)
376 ipaddress.IPv6Address(addr)
396 ipaddress.IPv6Address(addr)
416 ipaddress.IPv6Address(addr)
425 ipaddress.IPv6Address(addr)
453 ipaddress.IPv6Address(addr)
469 ipaddress.IPv6Address(addr)
[all …]
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv55 howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
56 howto/ipaddress,,::,IPv6Address('2001:db8::1')
57 howto/ipaddress,,::,IPv6Address('::1')
72 howto/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
73 howto/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
74 howto/ipaddress,,::,IPv6Address('::ffff:ffff')
75 howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff')
82 howto/ipaddress,,:db8,IPv6Address('2001:db8::ffff:ffff')
83 howto/ipaddress,,::,IPv6Address('2001:db8::ffff:ffff')
84 howto/ipaddress,,:ffff,IPv6Address('2001:db8::ffff:ffff')
[all …]
/external/python/ipaddress/
Dtest_ipaddress.py290 factory = ipaddress.IPv6Address
295 ipaddress.IPv6Address(addr)
301 ipaddress.IPv6Address(addr)
311 ipaddress.IPv6Address(addr)
324 ipaddress.IPv6Address(addr)
337 ipaddress.IPv6Address(addr)
345 ipaddress.IPv6Address(addr)
362 ipaddress.IPv6Address(addr)
373 ipaddress.IPv6Address(addr)
383 ipaddress.IPv6Address(addr)
[all …]
Dipaddress.py157 return IPv6Address(address)
1746 netmask = IPv6Address(cls._ip_int_from_prefix(prefixlen))
1997 class IPv6Address(_BaseV6, _BaseAddress): class
2177 class IPv6Interface(IPv6Address):
2181 IPv6Address.__init__(self, address)
2186 IPv6Address.__init__(self, address[0])
2197 IPv6Address.__init__(self, addr[0])
2208 address_equal = IPv6Address.__eq__(self, other)
2220 address_less = IPv6Address.__lt__(self, other)
2238 return IPv6Address(self._ip)
[all …]
/external/openthread/tools/otci/otci/
Dtypes.py97 class Ip6Addr(ipaddress.IPv6Address):
102 other = ipaddress.IPv6Address(other)
Dotci.py800 server: Tuple[Union[str, ipaddress.IPv6Address], int], argument
1021 def srp_client_start(self, server_ip: Union[str, ipaddress.IPv6Address], server_port: int): argument
1085 def srp_client_set_host_addresses(self, *addrs: Union[str, ipaddress.IPv6Address]): argument
1880 def add_ipaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
1884 def del_ipaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
1892 def has_ipaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
1912 def add_ipmaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
1916 def del_ipmaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
1924 def has_ipmaddr(self, ip: Union[str, ipaddress.IPv6Address]): argument
/external/python/cpython3/Doc/library/
Dipaddress.rst42 Return an :class:`IPv4Address` or :class:`IPv6Address` object depending on
51 IPv6Address('2001:db8::')
91 The :class:`IPv4Address` and :class:`IPv6Address` objects share a lot of common
242 >>> f'{ipaddress.IPv6Address("2001:db8::1000"):s}'
244 >>> format(ipaddress.IPv6Address('2001:db8::1000'), '_X')
246 >>> '{:#_n}'.format(ipaddress.IPv6Address('2001:db8::1000'))
252 .. class:: IPv6Address(address)
276 >>> ipaddress.IPv6Address('2001:db8::1000')
277 IPv6Address('2001:db8::1000')
278 >>> ipaddress.IPv6Address('ff02::5678%1')
[all …]
/external/python/cpython3/Lib/
Dipaddress.py50 return IPv6Address(address)
1605 netmask = IPv6Address(cls._ip_int_from_prefix(prefixlen))
1875 class IPv6Address(_BaseV6, _BaseAddress): class
2090 class IPv6Interface(IPv6Address):
2095 IPv6Address.__init__(self, addr)
2109 address_equal = IPv6Address.__eq__(self, other)
2121 address_less = IPv6Address.__lt__(self, other)
2139 return IPv6Address(self._ip)
2179 _address_class = IPv6Address
2214 self.network_address = IPv6Address(addr)
[all …]
/external/python/cpython3/Doc/howto/
Dipaddress.rst59 IPv6Address('2001:db8::1')
67 IPv6Address('2001:db8::1')
77 >>> ipaddress.IPv6Address(1)
78 IPv6Address('::1')
215 IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
217 IPv6Address('::ffff:ffff')
248 IPv6Address('2001:db8::1')
250 IPv6Address('2001:db8::ffff:ffff')
/external/openthread/tools/otci/tests/
Dtest_otci.py423 …{ipaddress.IPv6Address('2001::1'), ipaddress.IPv6Address('2001::2')}, set(srp_client_host['address…
476 {ipaddress.IPv6Address('2001::1'), ipaddress.IPv6Address('2001::2')},
489 self.assertEqual({ipaddress.IPv6Address('2001::1'),
490 ipaddress.IPv6Address('2001::2')}, set(service['addresses']))
498 self.assertEqual({ipaddress.IPv6Address('2001::1'),
499 ipaddress.IPv6Address('2001::2')}, set(service['addresses']))
/external/openthread/tests/scripts/thread-cert/pktverify/
Daddrs.py85 self._addr = ipaddress.IPv6Address(self)
96 a = ipaddress.IPv6Address(addr)
/external/openthread/tests/scripts/thread-cert/border_router/
Dtest_dnssd_instance_name_with_space.py167 dig_answer[3] = ipaddress.IPv6Address(dig_answer[3])
170 record[3] = ipaddress.IPv6Address(record[3])
Dtest_dnssd_server.py307 dig_answer[3] = ipaddress.IPv6Address(dig_answer[3])
310 record[3] = ipaddress.IPv6Address(record[3])
Dtest_dnssd_server_multi_border_routers.py320 dig_answer[3] = ipaddress.IPv6Address(dig_answer[3])
323 record[3] = ipaddress.IPv6Address(record[3])
/external/openthread/tools/harness-thci/
DOpenThread_BR.py512 addr = str(ipaddress.IPv6Address(addr.decode()).exploded)
522 address = ipaddress.IPv6Address(fullIp.decode())
649 if ipaddress.IPv6Address(addr.decode()).is_link_local:
/external/openthread/tools/harness-simulation/harness/Thread_Harness/Sniffer/
DSimSniffer.py109 if isinstance(ipaddress.ip_address(addr), ipaddress.IPv6Address):
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/rpc/
Dgrpc_channelz.py80 ip = ipaddress.IPv6Address(tcpip_address.ip_address)
/external/python/cryptography/src/cryptography/x509/
Dgeneral_name.py234 ipaddress.IPv6Address,
/external/openthread/tests/scripts/thread-cert/backbone/
Dtest_dua_routing.py193 mliid = ipaddress.IPv6Address(mleid).packed[-8:]

12