go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/l3/vrrp.proto (about) 1 syntax = "proto3"; 2 3 package ligato.vpp.l3; 4 5 option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l3;vpp_l3"; 6 7 import "ligato/annotations.proto"; 8 9 // VRRPEntry represents Virtual Router desired state. 10 message VRRPEntry { 11 // This field refers to logical interface name 12 string interface = 1; 13 // Should be > 0 and <= 255 14 uint32 vr_id = 2 [(ligato_options).int_range = {minimum: 1 maximum: 255}]; 15 // Priority defines which router becomes master. Should be > 0 and <= 255. 16 uint32 priority = 3 [(ligato_options).int_range = {minimum: 1 maximum: 255}]; 17 // VR advertisement interval in milliseconds, should be => 10 and <= 65535. 18 // (Later, in implemetation it is converted into centiseconds, so precision may be lost). 19 uint32 interval = 4 [(ligato_options).int_range = {minimum: 10 maximum: 65535}]; 20 // Controls whether a (starting or restarting) 21 // higher-priority Backup router preempts a lower-priority Master router. 22 bool preempt = 5; 23 // Controls whether a virtual router in Master state will accept packets 24 // addressed to the address owner's IPvX address as its own if it is not the IPvX address owner. 25 bool accept = 6; 26 // Unicast mode may be used to take 27 // advantage of newer token ring adapter implementations that support 28 // non-promiscuous reception for multiple unicast MAC addresses and to 29 // avoid both the multicast traffic and usage conflicts associated with 30 // the use of token ring functional addresses. 31 bool unicast = 7; 32 33 // Ip address quantity should be > 0 and <= 255. 34 repeated string ip_addresses = 8 [(ligato_options).type = IP]; 35 bool enabled = 9; 36 }