summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-27 20:03:07 +0200
committerGitHub <noreply@github.com>2023-06-27 20:03:07 +0200
commit6efdecdaa20359b56d1ff856c9f6f1f736f77a7f (patch)
tree1cf63b0e4c658079a4de9310ad514d524d7ca8a5 /interface-definitions
parent9c756d5dd20ee059b76a3e8ba2d5602e5a9bbefc (diff)
parente8ab66da5342579a412de090d827fcb0a0bb0e57 (diff)
downloadvyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.tar.gz
vyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.zip
Merge pull request #2058 from c-po/vrrp-t5315-backport
vrrp: T5315: add support to explicitly specify version (backport)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vrrp.xml.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/vrrp.xml.in b/interface-definitions/vrrp.xml.in
index 80a33c2b2..0684a7e4e 100644
--- a/interface-definitions/vrrp.xml.in
+++ b/interface-definitions/vrrp.xml.in
@@ -28,6 +28,22 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="version">
+ <properties>
+ <help>Default VRRP version to use, IPv6 always uses VRRP version 3</help>
+ <valueHelp>
+ <format>2</format>
+ <description>VRRP version 2</description>
+ </valueHelp>
+ <valueHelp>
+ <format>3</format>
+ <description>VRRP version 3</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 2-3"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<tagNode name="group">