summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-mtu-1200-9000.xml.i
diff options
context:
space:
mode:
authorkroy <kroy@kroy.io>2020-01-13 13:38:05 -0600
committerkroy <kroy@kroy.io>2020-01-13 13:38:05 -0600
commit66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9 (patch)
tree0e6cf2a573b78a898fd923907246400a6a9ee925 /interface-definitions/include/interface-mtu-1200-9000.xml.i
parent4fa271c1d9e5011b25a18cf60c27d1017382eb7d (diff)
downloadvyos-1x-66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9.tar.gz
vyos-1x-66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9.zip
vxlan: T1961: Adjusting MTU limits
Diffstat (limited to 'interface-definitions/include/interface-mtu-1200-9000.xml.i')
-rw-r--r--interface-definitions/include/interface-mtu-1200-9000.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-mtu-1200-9000.xml.i b/interface-definitions/include/interface-mtu-1200-9000.xml.i
new file mode 100644
index 000000000..336845b77
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-1200-9000.xml.i
@@ -0,0 +1,13 @@
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>1200-9000</format>
+ <description>Maximum Transmission Unit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1200-9000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 1200 and 9000</constraintErrorMessage>
+ </properties>
+</leafNode>