Address

Keys

Leafs

class Native.Interface.Loopback.Ipv4.Address

Bases: Entity

Class Hierarchy : Native Interface Loopback Ipv4 Address

This class represents configuration data.

The list of configured IPv4 addresses on the interface.

ip(key)

The IPv4 address on the interface

type: str

pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])

prefix_length

The length of the subnet prefix

type: int

range: 0..32

netmask

The subnet specified as a netmask

type: str

pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])