diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-06 18:08:54 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-06 20:58:56 +0100 |
commit | 1053b331172277f7e3b2714fca84da7db4eb6221 (patch) | |
tree | 34ff0379e8f8ddde7deee5aa30023f767a80da5a /interface-definitions/include/vif-s.xml.i | |
parent | 7b548edefc9e3d9fdccbfe5469f621d07793f715 (diff) | |
download | vyos-1x-1053b331172277f7e3b2714fca84da7db4eb6221.tar.gz vyos-1x-1053b331172277f7e3b2714fca84da7db4eb6221.zip |
T1843: use include files for interface MTU size
Diffstat (limited to 'interface-definitions/include/vif-s.xml.i')
-rw-r--r-- | interface-definitions/include/vif-s.xml.i | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index 3cb28d7e0..a109eed6b 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -38,19 +38,7 @@ </properties>
</leafNode>
#include <include/interface-mac.xml.i>
- <leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>68-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 68-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 68 and 9000</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-mtu-68-9000.xml.i>
<tagNode name="vif-c">
<properties>
<help>QinQ TAG-C Virtual Local Area Network (VLAN) ID</help>
@@ -71,19 +59,7 @@ </leafNode>
#include <include/interface-disable.xml.i>
#include <include/interface-mac.xml.i>
- <leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>68-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 68-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 68 and 9000</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-mtu-68-9000.xml.i>
</children>
</tagNode>
</children>
|