summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/mtu-1450-16000.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-19 13:07:18 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-20 17:17:58 +0200
commit0a8a0188033d6b27c521f082fdddae9873dd5d3d (patch)
treece82e8c0aa8d4d43b6fdc7245e489ea0a33c5461 /interface-definitions/include/interface/mtu-1450-16000.xml.i
parent2278785d4327c961a2c3a8e36637f4e464ad7230 (diff)
downloadvyos-1x-0a8a0188033d6b27c521f082fdddae9873dd5d3d.tar.gz
vyos-1x-0a8a0188033d6b27c521f082fdddae9873dd5d3d.zip
xml: remove superfluous "interface" prefix from interface includes
Diffstat (limited to 'interface-definitions/include/interface/mtu-1450-16000.xml.i')
-rw-r--r--interface-definitions/include/interface/mtu-1450-16000.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/mtu-1450-16000.xml.i b/interface-definitions/include/interface/mtu-1450-16000.xml.i
new file mode 100644
index 000000000..2dc3a2029
--- /dev/null
+++ b/interface-definitions/include/interface/mtu-1450-16000.xml.i
@@ -0,0 +1,16 @@
+<!-- include start from interface/mtu-1450-16000.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>1450-16000</format>
+ <description>Maximum Transmission Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1450-16000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 1450 and 16000</constraintErrorMessage>
+ </properties>
+ <defaultValue>1500</defaultValue>
+</leafNode>
+<!-- include end -->