summaryrefslogtreecommitdiff
path: root/interface-definitions/vrrp.xml.in
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-29 10:35:31 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-29 17:57:15 +0000
commit5dbd2e36550043a15ed34108d1537e545ecdb4ae (patch)
tree04ffba62a220bd68cd2e7875b9c97f05f2e3e496 /interface-definitions/vrrp.xml.in
parent278d3e62f56f5f7b3c25bbe0cab953c64fbe1fc6 (diff)
downloadvyos-1x-5dbd2e36550043a15ed34108d1537e545ecdb4ae.tar.gz
vyos-1x-5dbd2e36550043a15ed34108d1537e545ecdb4ae.zip
vrrp: T2933: Add option virtual-address-excluded
Diffstat (limited to 'interface-definitions/vrrp.xml.in')
-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>