From 44f766a7880e9264487e62f4aacc9f4f635219ed Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 5 Apr 2021 23:23:14 +0200 Subject: tunnel: T3030: move erspan type into regular tunnel interface Instead of having a dedicated ERSPAN interface type, rather move the specifics into "interface tunnel". A migrator is not needed as there is yet no LTS release with this feature and this is considered experimental. --- interface-definitions/interfaces-tunnel.xml.in | 89 +++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 3 deletions(-) (limited to 'interface-definitions/interfaces-tunnel.xml.in') diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index e3aad2719..e4bdcb3d7 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -80,8 +80,12 @@ Encapsulation of this tunnel interface - gre gretap ip6gre ip6gretap ip6ip6 ipip ipip6 sit + erspan gre gretap ip6erspan ip6gre ip6gretap ip6ip6 ipip ipip6 sit + + erspan + Encapsulated Remote Switched Port Analyzer + gre Generic Routing Encapsulation @@ -90,6 +94,10 @@ gretap Generic Routing Encapsulation (virtual L2 tunnel) + + ip6erspan + Encapsulated Remote Switched Port Analyzer over IPv6 network + ip6gre GRE over IPv6 network @@ -115,9 +123,9 @@ Simple Internet Transition encapsulation - ^(gre|gretap|ip6gre|ip6gretap|ip6ip6|ipip|ipip6|sit)$ + ^(erspan|gre|gretap|ip6erspan|ip6gre|ip6gretap|ip6ip6|ipip|ipip6|sit)$ - Invalid encapsulation, must be one of: gre, gretap, ip6gre, ip6gretap, ipip, sit, ipip6 or ip6ip6 + Invalid encapsulation, must be one of: erspan, gre, gretap, ip6erspan, ip6gre, ip6gretap, ipip, sit, ipip6 or ip6ip6 @@ -145,6 +153,81 @@ Tunnel parameters + + + ERSPAN Tunnel parameters + + + + + + + Specifify ERSPAN version 1 index field + + 0-63 + Platform-depedent field for specifying port number and direction + + + + + + + + + Protocol version + + 1 + ERSPAN Type II + + + + + + + 1 + + + IPv4 specific tunnel parameters -- cgit v1.2.3