summaryrefslogtreecommitdiff
path: root/interface-definitions/container.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-02 09:25:35 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-02 09:53:39 +0200
commit809f28f2b95a788d23db006a041955e7167a285d (patch)
tree9bbf0204215797cc6b40a72d28ebf6b59b3f33fa /interface-definitions/container.xml.in
parent37740abd88aa4c9f38e67ca8137ae6d61926d8ac (diff)
downloadvyos-1x-809f28f2b95a788d23db006a041955e7167a285d.tar.gz
vyos-1x-809f28f2b95a788d23db006a041955e7167a285d.zip
xml: re-use generic-description.xml.i building block whenever possible
Remove redundant XML CLI node definitions for the common description node by referencing the common building block.
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r--interface-definitions/container.xml.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index b09536a16..b52054dd0 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -348,11 +348,7 @@
<constraintErrorMessage>Network name cannot be longer than 11 characters</constraintErrorMessage>
</properties>
<children>
- <leafNode name="description">
- <properties>
- <help>Network description</help>
- </properties>
- </leafNode>
+ #include <include/generic-description.xml.i>
<leafNode name="prefix">
<properties>
<help>Prefix which allocated to that network</help>