Address¶
Keys
Leafs
-
class
InterfacesState.Interface.Ipv4.
Address
¶ Bases:
Entity
Class Hierarchy:
InterfacesState
Interface
Ipv4
Address
This class represents state data.
The list of 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])(%[\p{N}\p{L}]+)?config: False
-
prefix_length
¶ The length of the subnet prefix
type: int
range: 0..32config: False
-
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])config: False
-
origin
¶ The origin of this address
type:
IpAddressOrigin
config: False
-