diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-01-14 02:47:57 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 02:47:57 +0700 |
commit | 91de4ec9d95a6a99df0ad5363633251bcb5f4874 (patch) | |
tree | 0e6cf2a573b78a898fd923907246400a6a9ee925 /interface-definitions | |
parent | 4fa271c1d9e5011b25a18cf60c27d1017382eb7d (diff) | |
parent | 66c6ae16b7d5077e9aa6d9b9166d9c63f92c75c9 (diff) | |
download | vyos-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')
-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> |