summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/mtu-68-16000.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/interface/mtu-68-16000.xml.i')
-rw-r--r--interface-definitions/include/interface/mtu-68-16000.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/mtu-68-16000.xml.i b/interface-definitions/include/interface/mtu-68-16000.xml.i
new file mode 100644
index 000000000..41340fbf3
--- /dev/null
+++ b/interface-definitions/include/interface/mtu-68-16000.xml.i
@@ -0,0 +1,16 @@
+<!-- include start from interface/interface-mtu-68-16000.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>u32:68-16000</format>
+ <description>Maximum Transmission Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 68-16000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 68 and 16000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1500</defaultValue>
+</leafNode>
+<!-- include end -->