summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-22 18:24:40 +0100
committerGitHub <noreply@github.com>2020-03-22 18:24:40 +0100
commitf06d9b22a6d9b355b4faa0271d31d4c2f58369a7 (patch)
tree2fce72c6d19486e7b5df429e5a38e3fdfe8c5f00 /interface-definitions/include
parent7a509a4d725eb9f9786d9abc59a90fe8e31e4c1f (diff)
parent33bc923f3f629fb7c9dfc268e7bde667b34166ce (diff)
downloadvyos-1x-f06d9b22a6d9b355b4faa0271d31d4c2f58369a7.tar.gz
vyos-1x-f06d9b22a6d9b355b4faa0271d31d4c2f58369a7.zip
Merge pull request #222 from thomas-mangin/T2028
tunnel: T2028: move interface tunnel to XML/Python
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/interface-mtu-64-8024.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-mtu-64-8024.xml.i b/interface-definitions/include/interface-mtu-64-8024.xml.i
new file mode 100644
index 000000000..e917c816f
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-64-8024.xml.i
@@ -0,0 +1,13 @@
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>64-8024</format>
+ <description>Maximum Transmission Unit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 64-8024"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 64 and 8024</constraintErrorMessage>
+ </properties>
+</leafNode>