summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-11-02 10:55:08 +0000
committersever-sever <v.gletenko@vyos.io>2020-11-02 10:55:08 +0000
commitbcfd427dd415cde6fdce170f3abc2fb6c6b340fa (patch)
treea79bb45de3c028839578d3c7da8a212721bb60e8 /interface-definitions/protocols-bgp.xml.in
parent0bb7a7d32b6182064acf3203050464f22815ef5d (diff)
downloadvyos-1x-bcfd427dd415cde6fdce170f3abc2fb6c6b340fa.tar.gz
vyos-1x-bcfd427dd415cde6fdce170f3abc2fb6c6b340fa.zip
bgp-xml: T2387: Fix validators and add capability for new format bgp
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index e1469d6ad..f2cc01301 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -282,7 +282,7 @@
<constraint>
<validator name="ipv4-address"/>
<validator name="ipv6-address"/>
- <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex>
+ <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex>
</constraint>
</properties>
<children>
@@ -636,7 +636,7 @@
</valueHelp>
<constraint>
<validator name="ipv4-address"/>
- <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex>
+ <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex>
</constraint>
</properties>
</leafNode>
@@ -1142,7 +1142,7 @@
</valueHelp>
<constraint>
<validator name="ipv4-address"/>
- <regex>(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+</regex>
+ <regex>(br|bond|dum|en|eth|gnv|lo|peth|tun|vti|tun|vxlan|wg|wlan)[0-9]+</regex>
</constraint>
</properties>
</leafNode>