Home | Trees | Indices | Help |
|
---|
|
Routines for IPv4 and IPv6 addresses, subnets and ranges.
|
|||
|
|
|||
BaseIP An abstract base class for common operations shared between various IP related subclasses. |
|||
IPAddress An individual IPv4 or IPv6 address without a net mask or subnet prefix. |
|||
IPNetwork An IPv4 or IPv6 network or subnet. |
|||
IPRange An arbitrary IPv4 or IPv6 address range. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
IPV4_LOOPBACK = IPNetwork('127.0.0.0/8')
|
|||
IPV4_PRIVATE =
|
|||
IPV4_LINK_LOCAL = IPNetwork('169.254.0.0/16')
|
|||
IPV4_MULTICAST = IPNetwork('224.0.0.0/4')
|
|||
IPV4_6TO4 = IPNetwork('192.88.99.0/24')
|
|||
IPV4_RESERVED =
|
|||
IPV6_LOOPBACK = IPAddress('::1')
|
|||
IPV6_PRIVATE =
|
|||
IPV6_LINK_LOCAL = IPNetwork('fe80::/10')
|
|||
IPV6_MULTICAST = IPNetwork('ff00::/8')
|
|||
IPV6_RESERVED =
|
|
|
A function that converts abbreviated IPv4 CIDRs to their more verbose equivalent.
|
A function that accepts an iterable sequence of IP addresses and subnets merging them into the smallest possible list of CIDRs. It merges adjacent subnets where possible and removes duplicates.
|
Removes an exclude IP address or subnet from target IP subnet.
|
Function that accepts a sequence of IP addresses and subnets returning a single IPNetwork subnet that is large enough to span the lower and upper bound IP addresses with a possible overlap on either end.
|
An xrange work-alike generator for IP addresses. It produces sequences based on start and stop IP address values, in intervals of step size.
|
A function that accepts an arbitrary start and end IP address or subnet and returns a list of CIDR subnets that fit exactly between the boundaries of the two with no overlap.
|
Matches an IP address or subnet against a given sequence of IP addresses and subnets.
|
Matches an IP address or subnet against a given sequence of IP addresses and subnets.
|
Matches an IP address or subnet against a given sequence of IP addresses and subnets.
|
|
IPV4_PRIVATE
|
IPV4_RESERVED
|
IPV6_RESERVED
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Aug 11 23:18:18 2009 | http://epydoc.sourceforge.net |