summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-05 11:40:34 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-05 11:40:34 +0200
commitd4d47d8a39c7f6dc5eb5722fe7782262b1544321 (patch)
tree7b95cdfef80794e77018738d03e19d701a44243a /interface-definitions
parentdf941fdc799d8b5eba6a1780aef383bd71c9e0b7 (diff)
downloadvyos-1x-d4d47d8a39c7f6dc5eb5722fe7782262b1544321.tar.gz
vyos-1x-d4d47d8a39c7f6dc5eb5722fe7782262b1544321.zip
[bridge] T1156: add XML address constraints
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-bridge.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bridge.xml b/interface-definitions/interfaces-bridge.xml
index 5cb8c7c40..4186a94a7 100644
--- a/interface-definitions/interfaces-bridge.xml
+++ b/interface-definitions/interfaces-bridge.xml
@@ -35,6 +35,10 @@
<format>dhcpv6</format>
<description>Dynamic Host Configuration Protocol for IPv6</description>
</valueHelp>
+ <constraint>
+ <validator name="cidr"/>
+ <regex>(dhcp|dhcpv6)</regex>
+ </constraint>
<multi/>
</properties>
</leafNode>