IPv6Address#
- class IPv6Address(value=None, prefix_length=128, *args, **kwargs)#
Bases:
object
An unique address that identifies a device on the internet or a local network in IPv6 format.
- Parameters:
value (required) – (
value
) The IPv6 address of the host.prefix_length (min=0, max=128) – (
prefix_length
) The prefix length of the network to which this host IPv6 address belongs. (Default 128)
- property prefix_length#
The prefix length of the network to which this host IPv6 address belongs.
- Type:
int
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property value#
The IPv6 address of the host.
- Type:
str