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