Routines and classes for supporting and expressing IP address ranges
using a glob style syntax.
|
valid_glob(ipglob)
Returns:
True if IP range glob is valid, False
otherwise. |
|
|
|
glob_to_iptuple(ipglob)
A function that accepts a glob-style IP range and returns the
component lower and upper bound IP address. |
|
|
|
glob_to_iprange(ipglob)
A function that accepts a glob-style IP range and returns the
equivalent IP range. |
|
|
|
iprange_to_globs(start,
end)
A function that accepts an arbitrary start and end IP address or
subnet and returns one or more glob-style IP ranges. |
|
|
|
glob_to_cidrs(ipglob)
A function that accepts a glob-style IP range and returns a list of
one or more IP CIDRs that exactly matches it. |
|
|
|
cidr_to_glob(cidr)
A function that accepts an IP subnet in a glob-style format and
returns a list of CIDR subnets that exactly matches the specified
glob. |
|
|