diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-26 19:10:47 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-28 00:54:37 +0100 |
commit | 8bdf5b5216ddafdcee067b5bb8e15f18799c6fe5 (patch) | |
tree | c3a7074860a3bbbc89a13398fe6ee426e6d4e217 /interface-definitions | |
parent | e5b335830efe21f560383f4a2003450b42923e63 (diff) | |
download | vyos-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')
-rw-r--r-- | interface-definitions/include/interface-parameters-flowlabel.xml.i | 1 | ||||
-rw-r--r-- | interface-definitions/interfaces-vxlan.xml.in | 36 |
2 files changed, 36 insertions, 1 deletions
diff --git a/interface-definitions/include/interface-parameters-flowlabel.xml.i b/interface-definitions/include/interface-parameters-flowlabel.xml.i index ae65c27c9..0723c4b47 100644 --- a/interface-definitions/include/interface-parameters-flowlabel.xml.i +++ b/interface-definitions/include/interface-parameters-flowlabel.xml.i @@ -11,6 +11,5 @@ </constraint> <constraintErrorMessage>Must be 'inherit' or a number</constraintErrorMessage> </properties> - <defaultValue>inherit</defaultValue> </leafNode> <!-- included end --> 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> |