diff options
author | Christian Poessinger <christian@poessinger.com> | 2023-01-05 07:24:03 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2023-01-05 07:24:12 +0100 |
commit | e3454b7ead66b5481aba2cc07670680dad4f4afa (patch) | |
tree | fe1b3b67cd819e3d1fae6c15669ffa85e372c866 /interface-definitions/include/generic-description.xml.i | |
parent | bf790ab67d6261b225849cfca5d8ea092f753b42 (diff) | |
download | vyos-1x-e3454b7ead66b5481aba2cc07670680dad4f4afa.tar.gz vyos-1x-e3454b7ead66b5481aba2cc07670680dad4f4afa.zip |
static: T4883: re-use description XML building block
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
-rw-r--r-- | interface-definitions/include/generic-description.xml.i | 3 |
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 --> |