diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-05 23:14:27 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-05 23:15:58 +0100 |
commit | 96519ef8cc8af1e4d27d1679f8a7663ab6168aec (patch) | |
tree | 7c46913ace0d849ec6d67e117920e2a79aa2cff1 /interface-definitions | |
parent | e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8 (diff) | |
download | vyos-1x-96519ef8cc8af1e4d27d1679f8a7663ab6168aec.tar.gz vyos-1x-96519ef8cc8af1e4d27d1679f8a7663ab6168aec.zip |
xml: add new common interface-name validator
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-tunnel.xml.in | 2 |
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> |