Config¶
Leafs
-
class
Interfaces.Interface.RoutedVlan.Ipv4.Addresses.Address.Vrrp.VrrpGroup.
Config
¶ Bases:
Entity
Class Hierarchy:
Interfaces
Interface
RoutedVlan
Ipv4
Addresses
Address
Vrrp
VrrpGroup
Config
This class represents configuration data.
Configuration 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
-
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}|:))$
-
priority
¶ Specifies the sending VRRP interface’s priority for the virtual router. Higher values equal higher priority
type: int
range: 1..254default value: 100
-
preempt
¶ When set to true, enables preemption by a higher priority backup router of a lower priority master router
type: bool
default value: true
-
preempt_delay
¶ Set the delay the higher priority router waits before preempting
type: int
range: 0..3600default 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
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..4095units: centiseconds
default value: 100
-