State

Leafs

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

Bases: Entity

Class Hierarchy: Interfaces Interface Subinterfaces Subinterface Ipv4 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])$

type: list of str

pattern: ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$

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