Package ganeti :: Module netutils :: Class IP6Address
[hide private]
[frames] | no frames]

Class IP6Address

source code


IPv6 address class.

Instance Methods [hide private]
 
__init__(self, address)
Constructor for IPv6 address.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from IPAddress: InNetwork, IsLoopback, IsValid, Own, ValidateNetmask

Static Methods [hide private]
int
_GetIPIntFromString(address)
Get integer value of IPv6 address.
source code

Inherited from IPAddress: GetAddressFamily, GetAddressFamilyFromVersion, GetClassFromIpFamily, GetClassFromIpVersion, GetVersionFromAddressFamily

Class Variables [hide private]
  iplen = 128
  family = socket.AF_INET6
hash(x)
  loopback_cidr = "::1/128"
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, address)
(Constructor)

source code 

Constructor for IPv6 address.

Parameters:
  • address (str) - IP address
Raises:
Overrides: object.__init__

_GetIPIntFromString(address)
Static Method

source code 

Get integer value of IPv6 address.

Parameters:
  • address (str) - IPv6 address
Returns: int
integer value of given IP address
Overrides: IPAddress._GetIPIntFromString