Address¶
Keys
Leafs
-
class
Interfaces.Interface.Ipv4.Address¶ Bases:
EntityClass Hierarchy:
InterfacesInterfaceIpv4AddressThis 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])(%[\p{N}\p{L}]+)?
-
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])
-