diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-22 15:01:05 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-24 09:58:15 +0000 |
| commit | 20ecb6d4ccaf903bcaaf658b1a655dd8d79b989c (patch) | |
| tree | fb210001772e274dc79320c7d430ad0dea4d4839 /interface-definitions/vpp.xml.in | |
| parent | 63bd816bdfcc041d10941dab51a9a0792218ef42 (diff) | |
| download | vyos-1x-20ecb6d4ccaf903bcaaf658b1a655dd8d79b989c.tar.gz vyos-1x-20ecb6d4ccaf903bcaaf658b1a655dd8d79b989c.zip | |
GRE: Add tunnel-type erspan, l3 and teb
Add tunnel type
- erspan
- l3
- teb (Transparent Ethernet Bridge)
By default L3 GRE interfaces cannot be bridged to a bridge interface.
Add the ability to change tunnel type.
set vpp interfaces gre gre2 tunnel-type 'teb'
Diffstat (limited to 'interface-definitions/vpp.xml.in')
| -rw-r--r-- | interface-definitions/vpp.xml.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 0718ba0fe..c946839db 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -180,6 +180,31 @@ </valueHelp> </properties> <children> + <leafNode name="tunnel-type"> + <properties> + <help>GRE tunnel type</help> + <completionHelp> + <list>erspan l3 teb</list> + </completionHelp> + <valueHelp> + <format>erspan</format> + <description>Encapsulated Remote Switched Port Analyzer</description> + </valueHelp> + <valueHelp> + <format>l3</format> + <description>Generic Routing Encapsulation (network layer)</description> + </valueHelp> + <valueHelp> + <format>teb</format> + <description>L2 Transparent Ethernet Bridge</description> + </valueHelp> + <constraint> + <regex>(erspan|l3|teb)</regex> + </constraint> + <constraintErrorMessage>Invalid encapsulation, must be one of: l3, teb or erspan</constraintErrorMessage> + </properties> + <defaultValue>l3</defaultValue> + </leafNode> #include <include/source-address-ipv4-ipv6.xml.i> #include <include/interface/tunnel-remote.xml.i> #include <include/kernel-interface-tun.xml.i> |
