summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-mtu-64-8024.xml.i
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-03-22 11:35:49 +0000
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-03-22 16:43:01 +0000
commit33bc923f3f629fb7c9dfc268e7bde667b34166ce (patch)
tree8b42bf8f8bacecce294845bf698c6fd3ba525556 /interface-definitions/include/interface-mtu-64-8024.xml.i
parentfdafecc0c569f7d5f818a5a2c56bf7ea1983d2f4 (diff)
downloadvyos-1x-33bc923f3f629fb7c9dfc268e7bde667b34166ce.tar.gz
vyos-1x-33bc923f3f629fb7c9dfc268e7bde667b34166ce.zip
tunnel: T2028: move interface tunnel to XML/Python
This patch migrates the "interface tunnel" section to xml/python
Diffstat (limited to 'interface-definitions/include/interface-mtu-64-8024.xml.i')
-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>