diff options
author | kroy <kroy@kroy.io> | 2020-01-13 13:38:05 -0600 |
---|---|---|
committer | kroy <kroy@kroy.io> | 2020-01-13 13:38:05 -0600 |
commit | 66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9 (patch) | |
tree | 0e6cf2a573b78a898fd923907246400a6a9ee925 | |
parent | 4fa271c1d9e5011b25a18cf60c27d1017382eb7d (diff) | |
download | vyos-1x-66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9.tar.gz vyos-1x-66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9.zip |
vxlan: T1961: Adjusting MTU limits
-rw-r--r-- | interface-definitions/include/interface-mtu-1200-9000.xml.i | 13 | ||||
-rw-r--r-- | interface-definitions/interfaces-vxlan.xml.in | 2 |
2 files changed, 14 insertions, 1 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> diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in index ceb75cb34..7d86e1847 100644 --- a/interface-definitions/interfaces-vxlan.xml.in +++ b/interface-definitions/interfaces-vxlan.xml.in @@ -57,7 +57,7 @@ </completionHelp> </properties> </leafNode> - #include <include/interface-mtu-1450-9000.xml.i> + #include <include/interface-mtu-1200-9000.xml.i> <leafNode name="remote"> <properties> <help>Remote address of VXLAN tunnel</help> |