Represents an IP address range using a glob-style syntax
(x.x.x-y.*).
|
|
|
__getstate__(self)
Returns:
Pickled state of an IPGlob object. |
|
|
|
|
|
|
|
|
|
__str__(self)
Returns:
IP glob in common representational format. |
|
|
|
__repr__(self)
Returns:
Python statement to create an equivalent object |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
cidrs(self)
The list of CIDR addresses found within the lower and upper bound
addresses of this IPRange. |
|
|
|
key(self)
Returns:
A key tuple used to uniquely identify this IPRange. |
|
|
|
sort_key(self)
Returns:
A key tuple used to compare and sort this IPRange
correctly. |
|
|
|
|
|
__ge__(self,
other)
Returns:
True if this IPAddress or IPNetwork
object is greater than or equal to other ,
False otherwise. |
|
|
|
|
|
__hash__(self)
Returns:
A hash value uniquely indentifying this IP object. |
|
|
|
__le__(self,
other)
Returns:
True if this IPAddress or IPNetwork
object is less than or equal to other ,
False otherwise. |
|
|
|
|
|
|
|
|
|
is_ipv4_compat(self)
Returns:
True if this IP is IPv4-mapped IPv6 address,
False otherwise. |
|
|
|
is_ipv4_mapped(self)
Returns:
True if this IP is IPv4-compatible IPv6 address,
False otherwise. |
|
|
|
is_link_local(self)
Returns:
True if this IP is link-local address False
otherwise. |
|
|
|
is_loopback(self)
Returns:
True if this IP is loopback address (not for network
transmission), False otherwise. |
|
|
|
is_multicast(self)
Returns:
True if this IP is multicast, False
otherwise |
|
|
|
is_private(self)
Returns:
True if this IP is for internal/private use only (i.e. |
|
|
|
is_reserved(self)
Returns:
True if this IP is in IANA reserved range,
False otherwise. |
|
|
|
is_unicast(self)
Returns:
True if this IP is unicast, False otherwise |
|
|
|
__bool__(self)
Ranged IP objects always represent a sequence of at least one IP
address and are therefore always True in the boolean context. |
|
|
|
__contains__(self,
other)
Returns:
True if other falls within the boundary of this one,
False otherwise. |
|
|
|
__getitem__(self,
index)
Returns:
The IP address(es) in this IPNetwork object referenced by index or slice. |
|
|
|
__iter__(self)
Returns:
An iterator providing access to all IPAddress
objects within range represented by this ranged IP object. |
|
|
|
__len__(self)
Returns:
the number of IP addresses in this ranged IP object. |
|
|
|
__nonzero__(self)
Ranged IP objects always represent a sequence of at least one IP
address and are therefore always True in the boolean context. |
|
|