summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2023-01-05 07:24:03 +0100
committerChristian Poessinger <christian@poessinger.com>2023-01-05 07:24:12 +0100
commite3454b7ead66b5481aba2cc07670680dad4f4afa (patch)
treefe1b3b67cd819e3d1fae6c15669ffa85e372c866 /interface-definitions/include
parentbf790ab67d6261b225849cfca5d8ea092f753b42 (diff)
downloadvyos-1x-e3454b7ead66b5481aba2cc07670680dad4f4afa.tar.gz
vyos-1x-e3454b7ead66b5481aba2cc07670680dad4f4afa.zip
static: T4883: re-use description XML building block
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/generic-description.xml.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index 03fc564e6..31d540317 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -6,6 +6,9 @@
<format>txt</format>
<description>Description</description>
</valueHelp>
+ <constraint>
+ <regex>[a-zA-Z0-9_\-]+</regex>
+ </constraint>
</properties>
</leafNode>
<!-- include end -->