summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-mtu-1200-9000.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-01-14 02:47:57 +0700
committerGitHub <noreply@github.com>2020-01-14 02:47:57 +0700
commit91de4ec9d95a6a99df0ad5363633251bcb5f4874 (patch)
tree0e6cf2a573b78a898fd923907246400a6a9ee925 /interface-definitions/include/interface-mtu-1200-9000.xml.i
parent4fa271c1d9e5011b25a18cf60c27d1017382eb7d (diff)
parent66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9 (diff)
downloadvyos-1x-91de4ec9d95a6a99df0ad5363633251bcb5f4874.tar.gz
vyos-1x-91de4ec9d95a6a99df0ad5363633251bcb5f4874.zip
Merge pull request #204 from kroy-the-rabbit/vxlan-fix
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>