summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-28 10:29:30 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-28 18:10:08 +0100
commit458e71dd7b1af3354a7643a0d26e651a9e7ccfcf (patch)
treed7dbf463a28bec9f4465783741244150da08fdd8 /interface-definitions
parent5574bd672825a87b1983cc135ae2e0bdabbe751b (diff)
downloadvyos-1x-458e71dd7b1af3354a7643a0d26e651a9e7ccfcf.tar.gz
vyos-1x-458e71dd7b1af3354a7643a0d26e651a9e7ccfcf.zip
vxlan: T1513: add dont-fragment CLI option
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface-parameters-dont-fragment.xml.i8
-rw-r--r--interface-definitions/interfaces-vxlan.xml.in7
2 files changed, 9 insertions, 6 deletions
diff --git a/interface-definitions/include/interface-parameters-dont-fragment.xml.i b/interface-definitions/include/interface-parameters-dont-fragment.xml.i
new file mode 100644
index 000000000..a16cc5dee
--- /dev/null
+++ b/interface-definitions/include/interface-parameters-dont-fragment.xml.i
@@ -0,0 +1,8 @@
+<!-- included start from interface-parameters-df.xml.i -->
+<leafNode name="dont-fragment">
+ <properties>
+ <help>Specifies the usage of the dont fragment (DF) bit</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- included end -->
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in
index a2ff34186..d9d2d1033 100644
--- a/interface-definitions/interfaces-vxlan.xml.in
+++ b/interface-definitions/interfaces-vxlan.xml.in
@@ -52,12 +52,7 @@
<help>IPv4 specific tunnel parameters</help>
</properties>
<children>
- <leafNode name="df">
- <properties>
- <help>Specifies the usage of the do not fragment (DF) bit</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/interface-parameters-dont-fragment.xml.i>
#include <include/interface-parameters-tos.xml.i>
#include <include/interface-parameters-ttl.xml.i>
</children>