
Public Member Functions | |
| def | __init__ |
Private Attributes | |
| _ip | |
Represent and manipulate single IPv6 Addresses.
Definition at line 1692 of file ipaddr.py.
| def multi_interface_roam::ipaddr::IPv6Address::__init__ | ( | self, | ||
| address | ||||
| ) |
Instantiate a new IPv6 address object.
Args:
address: A string or integer representing the IP
Additionally, an integer can be passed, so
IPv6Address('2001:4860::') ==
IPv6Address(42541956101370907050197289607612071936L).
or, more generally
IPv6Address(IPv6Address('2001:4860::')._ip) ==
IPv6Address('2001:4860::')
Raises:
AddressValueError: If address isn't a valid IPv6 address.
Reimplemented from multi_interface_roam::ipaddr::_BaseIP.
Reimplemented from multi_interface_roam::ipaddr::_BaseIP.