summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/description.xml.i
diff options
context:
space:
mode:
authorLulu Cathrinus Grimalkin <me@erkin.party>2021-11-24 14:27:08 +0300
committerGitHub <noreply@github.com>2021-11-24 14:27:08 +0300
commitc0eff50f7be4ee365d0b5ce828f64a66574c4f06 (patch)
treebcffc2c52f29d12ef20854fbea2d2e60b7f7627e /interface-definitions/include/interface/description.xml.i
parentc0b09fe341c7ddced42479e0192a28ca553e30d6 (diff)
parent771301fea060467945e6c55379dd8e761aa9ad9d (diff)
downloadvyos-1x-c0eff50f7be4ee365d0b5ce828f64a66574c4f06.tar.gz
vyos-1x-c0eff50f7be4ee365d0b5ce828f64a66574c4f06.zip
Merge branch 'vyos:equuleus' into equuleus
Diffstat (limited to 'interface-definitions/include/interface/description.xml.i')
-rw-r--r--interface-definitions/include/interface/description.xml.i11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/description.xml.i b/interface-definitions/include/interface/description.xml.i
new file mode 100644
index 000000000..d618b50d2
--- /dev/null
+++ b/interface-definitions/include/interface/description.xml.i
@@ -0,0 +1,11 @@
+<!-- include start from interface/interface-description.xml.i -->
+<leafNode name="description">
+ <properties>
+ <help>Interface specific description</help>
+ <constraint>
+ <regex>.{1,256}$</regex>
+ </constraint>
+ <constraintErrorMessage>Description too long (limit 256 characters)</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->