summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-26 21:28:10 +0200
committerChristian Breunig <christian@breunig.cc>2023-06-26 21:32:49 +0200
commit463a2078669b5499e82c7d2c06807f16d6c2a99d (patch)
tree0965ab7157b4b4109614be925aaf219a94c4f245 /interface-definitions
parent9c756d5dd20ee059b76a3e8ba2d5602e5a9bbefc (diff)
downloadvyos-1x-463a2078669b5499e82c7d2c06807f16d6c2a99d.tar.gz
vyos-1x-463a2078669b5499e82c7d2c06807f16d6c2a99d.zip
vrrp: T5315: add support to explicitly specify version
set high-availability vrrp group <name> version 2|3 (cherry picked from commit 6ca308182a7891e600a2e8749f7b12b566005576)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vrrp.xml.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in
index 80a33c2b2..cbd248b33 100644
--- a/interface-definitions/vrrp.xml.in
+++ b/interface-definitions/vrrp.xml.in
@@ -28,6 +28,25 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="version">
+ <properties>
+ <help>Default VRRP version to use, IPv6 always uses VRRP version 3</help>
+ <completionHelp>
+ <list>2 3</list>
+ </completionHelp>
+ <valueHelp>
+ <format>u32:2</format>
+ <description>VRRP version 2</description>
+ </valueHelp>
+ <valueHelp>
+ <format>u32:3</format>
+ <description>VRRP version 3</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 2-3"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<tagNode name="group">