summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-29 21:47:29 +0200
committerGitHub <noreply@github.com>2020-09-29 21:47:29 +0200
commitd1f6b8a8a9e3298b10fe6a04f4edb531582efc88 (patch)
tree04ffba62a220bd68cd2e7875b9c97f05f2e3e496 /interface-definitions
parent278d3e62f56f5f7b3c25bbe0cab953c64fbe1fc6 (diff)
parent5dbd2e36550043a15ed34108d1537e545ecdb4ae (diff)
downloadvyos-1x-d1f6b8a8a9e3298b10fe6a04f4edb531582efc88.tar.gz
vyos-1x-d1f6b8a8a9e3298b10fe6a04f4edb531582efc88.zip
Merge pull request #557 from sever-sever/T2933
vrrp: T2933: Add option virtual-address-excluded
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 120c7d218..ec0a71a95 100644
--- a/interface-definitions/vrrp.xml.in
+++ b/interface-definitions/vrrp.xml.in
@@ -222,6 +222,25 @@
</valueHelp>
</properties>
</leafNode>
+ <leafNode name="virtual-address-excluded">
+ <properties>
+ <help>Virtual address (If you need additional IPv4 and IPv6 in same group)</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IP address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address</description>
+ </valueHelp>
+ <multi/>
+ <constraint>
+ <validator name="ipv4-host"/>
+ <validator name="ipv6-host"/>
+ </constraint>
+ <constraintErrorMessage>Virtual address must be a valid IPv4 or IPv6 address with prefix length (e.g. 192.0.2.3/24 or 2001:db8:ff::10/64)</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="vrid">
<properties>
<help>Virtual router identifier</help>