diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-03 00:11:28 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-03 00:16:49 +0100 |
commit | af609001364404e0b53ac3ee31ac75de54325ecb (patch) | |
tree | b326f3d72f2b1eabfa4b5fec6b15089fde52d9a2 /interface-definitions | |
parent | 93ce06e24a5d527bcae5315aefbc25533d2a7f07 (diff) | |
download | vyos-1x-af609001364404e0b53ac3ee31ac75de54325ecb.tar.gz vyos-1x-af609001364404e0b53ac3ee31ac75de54325ecb.zip |
geneve: T1799: add additional per tunnel options
Support setting additional options to the GENEVE tunnel like:
- ttl
- tos
- do not fragment bit
- ipv6 flowlabel
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-geneve.xml.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-geneve.xml.in b/interface-definitions/interfaces-geneve.xml.in index 5894f580c..25308c8ef 100644 --- a/interface-definitions/interfaces-geneve.xml.in +++ b/interface-definitions/interfaces-geneve.xml.in @@ -23,6 +23,31 @@ #include <include/interface-ipv6-options.xml.i> #include <include/interface-mac.xml.i> #include <include/interface-mtu-1450-16000.xml.i> + <node name="parameters"> + <properties> + <help>GENEVE tunnel parameters</help> + </properties> + <children> + <node name="ip"> + <properties> + <help>IPv4 specific tunnel parameters</help> + </properties> + <children> + #include <include/interface-parameters-dont-fragment.xml.i> + #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> + </children> + </node> #include <include/tunnel-remote.xml.i> #include <include/vni.xml.i> </children> |