summaryrefslogtreecommitdiff
path: root/interface-definitions/high-availability.xml.in
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:28:10 +0200
commit6ca308182a7891e600a2e8749f7b12b566005576 (patch)
tree60b8597042090e370fc5bc8fa5adc58b98085bde /interface-definitions/high-availability.xml.in
parentca7c063666c038d104082542f04ead6062e79246 (diff)
downloadvyos-1x-6ca308182a7891e600a2e8749f7b12b566005576.tar.gz
vyos-1x-6ca308182a7891e600a2e8749f7b12b566005576.zip
vrrp: T5315: add support to explicitly specify version
set high-availability vrrp group <name> version 2|3
Diffstat (limited to 'interface-definitions/high-availability.xml.in')
-rw-r--r--interface-definitions/high-availability.xml.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in
index c5e46ed38..413b822f0 100644
--- a/interface-definitions/high-availability.xml.in
+++ b/interface-definitions/high-availability.xml.in
@@ -30,6 +30,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">