Home | Trees | Indices | Help |
|
---|
|
object --+ | AddrRange
A block of contiguous network addresses bounded by an arbitrary start and stop address. There is no requirement that they fall on strict bit mask boundaries, unlike CIDR addresses.
This is the only network address aggregate supporting all network address types. Most AddrRange subclasses usually only support a subset of address types.
A sequence of address ranges sort first by address type then by magnitude. So for a list containing ranges of all currently supported address types, IPv4 ranges come first, then IPv6, EUI-48 and lastly EUI-64.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
STRATEGIES =
|
|
ADDR_TYPES =
|
|
strategy = StrategyDescriptor(STRATEGIES)
|
|
addr_type = AddrTypeDescriptor(ADDR_TYPES)
|
|
first = AddrValueDescriptor('first')
|
|
last = AddrValueDescriptor('last')
|
|
klass = KlassDescriptor(Addr)
|
Properties | |
Inherited from |
Method Details |
Constructor. |
hash(x)
|
|
|
|
|
|
|
|
|
|
|
|
|
Increments start and end addresses of this range by the current size. If the result exceeds address type range for the address type an IndexError is raised. |
Decrements start and end addresses of this range by the current size. If the result less than zero an IndexError is raised. |
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 |