summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-tunnel.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 23:14:27 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 23:15:58 +0100
commit96519ef8cc8af1e4d27d1679f8a7663ab6168aec (patch)
tree7c46913ace0d849ec6d67e117920e2a79aa2cff1 /interface-definitions/interfaces-tunnel.xml.in
parente336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8 (diff)
downloadvyos-1x-96519ef8cc8af1e4d27d1679f8a7663ab6168aec.tar.gz
vyos-1x-96519ef8cc8af1e4d27d1679f8a7663ab6168aec.zip
xml: add new common interface-name validator
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
-rw-r--r--interface-definitions/interfaces-tunnel.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in
index 470181d11..bb5081678 100644
--- a/interface-definitions/interfaces-tunnel.xml.in
+++ b/interface-definitions/interfaces-tunnel.xml.in
@@ -106,7 +106,7 @@
<script>${vyos_completion_dir}/list_interfaces.py</script>
</completionHelp>
<constraint>
- <regex>^(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+$</regex>
+ <validator name="interface-name"/>
</constraint>
</properties>
</leafNode>