Home | Trees | Indices | Help |
|
---|
|
object --+ | AddrStrategy --+ | IPv6Strategy
Implements the operations that can be performed on an Internet Protocol version 6 network address.
Supports all address formats detailed in RFC 4291.
NB - This class would benefit greatly from access to inet_pton/inet_ntop() function calls in Python's socket module. Sadly, it isn't available so we'll have to put up with the pure-Python implementation here for now.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Returns True if IPv6 network address string is valid, False otherwise.
|
Returns the equivalent network byte order integer for a given IP version 6 address. e.g. '::1' -> 1 (loopback)
|
Returns the IP version 6 string form equal to the network byte order integer value provided. The output is configurable :- compact - (optional) if True, use '::' to represent the first adjacent group of words with a value of zero. (default: True).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 15 22:47:11 2008 | http://epydoc.sourceforge.net |