diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-06 17:53:27 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-06 20:58:56 +0100 |
commit | 85349b54ab4de42f81d4c8c4dc84901d1313025f (patch) | |
tree | 0b1dc6838c93df17f825937fb9ee27d125e95434 /interface-definitions/include/vif-s.xml.i | |
parent | 6c51461bfe1e29ecc6ea84288d080330f974111d (diff) | |
download | vyos-1x-85349b54ab4de42f81d4c8c4dc84901d1313025f.tar.gz vyos-1x-85349b54ab4de42f81d4c8c4dc84901d1313025f.zip |
T1843: use include files for interface description
Diffstat (limited to 'interface-definitions/include/vif-s.xml.i')
-rw-r--r-- | interface-definitions/include/vif-s.xml.i | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index 51a68c859..ffb9de24a 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -8,15 +8,7 @@ </properties>
<children>
#include <include/address-ipv4-ipv6-dhcp.xml.i>
- <leafNode name="description">
- <properties>
- <help>Interface description</help>
- <constraint>
- <regex>^.{1,256}$</regex>
- </constraint>
- <constraintErrorMessage>Interface description too long (limit 256 characters)</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-description.xml.i>
#include <include/dhcp-dhcpv6-options.xml.i>
<leafNode name="disable-link-detect">
<properties>
@@ -85,15 +77,7 @@ </properties>
<children>
#include <include/address-ipv4-ipv6-dhcp.xml.i>
- <leafNode name="description">
- <properties>
- <help>Interface description</help>
- <constraint>
- <regex>^.{1,256}$</regex>
- </constraint>
- <constraintErrorMessage>Interface description too long (limit 256 characters)</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-description.xml.i>
#include <include/dhcp-dhcpv6-options.xml.i>
<leafNode name="disable-link-detect">
<properties>
|