Home | Trees | Indices | Help |
|
---|
|
object --+ | AddrRange --+ | Wildcard
A block of contiguous IPv4 network addresses defined using a wildcard style syntax.
Individual octets can be represented using the following shortcuts :
*
- the asterisk octet (represents values 0 through 255)
'x-y'
- the hyphenated octet (represents values x
through y)
A few basic rules also apply :
Example wildcards :
'192.168.0.1' # a single address '192.168.0.0-31' # 32 addresses '192.168.0.*' # 256 addresses '192.168.0-1.*' # 512 addresses '192.168-169.*.*' # 131,072 addresses '*.*.*.*' # the whole IPv4 address space
Wildcard ranges are not directly equivalent to CIDR ranges as they can represent address ranges that do not fall on strict bit mask boundaries.
All CIDR ranges can always be represented as wildcard ranges but the reverse isn't true in every case.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
|
Class Variables | |
STRATEGIES =
|
|
ADDR_TYPES =
|
|
strategy = StrategyDescriptor(STRATEGIES)
|
|
addr_type = AddrTypeDescriptor(ADDR_TYPES)
|
|
klass = KlassDescriptor(IP)
|
|
Properties | |
Inherited from |
Method Details |
A static method that validates wildcard address ranges.
|
Constructor. |
|
str(x)
|
repr(x)
|
Class Variable Details |
STRATEGIES
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Sep 29 23:23:24 2008 | http://epydoc.sourceforge.net |