State

Leafs

class Interfaces.Interface.Subinterfaces.Subinterface.Ipv6.Addresses.Address.Vrrp.VrrpGroup.State

Bases: Entity

Class Hierarchy : Interfaces Interface Subinterfaces Subinterface Ipv6 Addresses Address Vrrp VrrpGroup State

This class represents state data.

Operational state data for the VRRP group

virtual_router_id

Set the virtual router id for use by the VRRP group. This usually also determines the virtual MAC address that is generated for the VRRP group

type: int

range: 1..255

config: False

virtual_address

Configure one or more virtual addresses for the VRRP group

type: union of the below types:

type: list of 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}]+)?

type: list of str

pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?

config: False

priority

Specifies the sending VRRP interface’s priority for the virtual router. Higher values equal higher priority

type: int

range: 1..254

config: False

default value: 100

preempt

When set to true, enables preemption by a higher priority backup router of a lower priority master router

type: bool

config: False

default value: true

preempt_delay

Set the delay the higher priority router waits before preempting

type: int

range: 0..3600

config: False

default value: 0

accept_mode

Configure whether packets destined for virtual addresses are accepted even when the virtual address is not owned by the router interface

type: bool

config: False

default value: false

advertisement_interval

Sets the interval between successive VRRP advertisements – RFC 5798 defines this as a 12-bit value expressed as 0.1 seconds, with default 100, i.e., 1 second. Several implementation express this in units of seconds

type: int

range: 1..4095

config: False

units: centiseconds

default value: 100

current_priority

Operational value of the priority for the interface in the VRRP group

type: int

range: 0..255

config: False

For VRRP on IPv6 interfaces, sets the virtual link local address

type: union of the below types:

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}]+)?

type: str

pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?

config: False