summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorfett0 <50275740+fett0@users.noreply.github.com>2023-07-05 12:03:20 -0300
committerGitHub <noreply@github.com>2023-07-05 17:03:20 +0200
commite47668d88a21f4077bfb88c1123de0c86679d868 (patch)
treedc7fdd14c3df3c16bee309ee1e75cbd3c7323b9a /interface-definitions
parent8afdb5ad5515a0a1ae716204f397f3d974cec714 (diff)
downloadvyos-1x-e47668d88a21f4077bfb88c1123de0c86679d868.tar.gz
vyos-1x-e47668d88a21f4077bfb88c1123de0c86679d868.zip
geneve: T5339: add option to use ipv4 instead of ethernet
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface/parameters-innerproto.xml.i8
-rw-r--r--interface-definitions/interfaces-geneve.xml.in1
2 files changed, 9 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/parameters-innerproto.xml.i b/interface-definitions/include/interface/parameters-innerproto.xml.i
new file mode 100644
index 000000000..9cafebd11
--- /dev/null
+++ b/interface-definitions/include/interface/parameters-innerproto.xml.i
@@ -0,0 +1,8 @@
+<!-- include start from interface/parameters-innerproto.xml.i -->
+<leafNode name="innerproto">
+ <properties>
+ <help>Use IPv4 as inner protocol instead of Ethernet</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- include end -->
diff --git a/interface-definitions/interfaces-geneve.xml.in b/interface-definitions/interfaces-geneve.xml.in
index 330dadd95..29b563a09 100644
--- a/interface-definitions/interfaces-geneve.xml.in
+++ b/interface-definitions/interfaces-geneve.xml.in
@@ -36,6 +36,7 @@
#include <include/interface/parameters-df.xml.i>
#include <include/interface/parameters-tos.xml.i>
#include <include/interface/parameters-ttl.xml.i>
+ #include <include/interface/parameters-innerproto.xml.i>
</children>
</node>
<node name="ipv6">