summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-vxlan.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-26 19:10:47 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-28 00:54:37 +0100
commit8bdf5b5216ddafdcee067b5bb8e15f18799c6fe5 (patch)
treec3a7074860a3bbbc89a13398fe6ee426e6d4e217 /interface-definitions/interfaces-vxlan.xml.in
parente5b335830efe21f560383f4a2003450b42923e63 (diff)
downloadvyos-1x-8bdf5b5216ddafdcee067b5bb8e15f18799c6fe5.tar.gz
vyos-1x-8bdf5b5216ddafdcee067b5bb8e15f18799c6fe5.zip
vxlan: T1513: add additional EVPN related CLI options
A VXLAN tunnel may now get a TTL, TOS, Flowlabel option specified. It is also possible to disable learning of unknown addresses into the forwarding database.
Diffstat (limited to 'interface-definitions/interfaces-vxlan.xml.in')
-rw-r--r--interface-definitions/interfaces-vxlan.xml.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in
index 234770971..2afe8685a 100644
--- a/interface-definitions/interfaces-vxlan.xml.in
+++ b/interface-definitions/interfaces-vxlan.xml.in
@@ -60,6 +60,42 @@
</constraint>
</properties>
</leafNode>
+ <node name="parameters">
+ <properties>
+ <help>VXLAN tunnel parameters</help>
+ </properties>
+ <children>
+ <node name="ip">
+ <properties>
+ <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-tos.xml.i>
+ #include <include/interface-parameters-ttl.xml.i>
+ </children>
+ </node>
+ <node name="ipv6">
+ <properties>
+ <help>IPv6 specific tunnel parameters</help>
+ </properties>
+ <children>
+ #include <include/interface-parameters-flowlabel.xml.i>
+ </children>
+ </node>
+ <leafNode name="nolearning">
+ <properties>
+ <help>Do not add unknown addresses into forwarding database</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<leafNode name="port">
<properties>
<help>Destination port of VXLAN tunnel (default: 8472)</help>