From d86567f57b710d78872745b07416dc6d4ae3d7ab Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Fri, 5 Feb 2021 12:15:30 +0800 Subject: tunnel: erspan: T3030: Fixed tunnel option missing In 8413278c, we left out a parameter in the tunnel that caused the tunnel smoke test to fail. Now, let's add it --- .../include/tunnel-parameters-ip.xml.i | 85 ++++++++++------------ interface-definitions/interfaces-erspan.xml.in | 9 ++- interface-definitions/interfaces-tunnel.xml.in | 15 +++- 3 files changed, 61 insertions(+), 48 deletions(-) diff --git a/interface-definitions/include/tunnel-parameters-ip.xml.i b/interface-definitions/include/tunnel-parameters-ip.xml.i index c304bd3ff..cbecb94a4 100644 --- a/interface-definitions/include/tunnel-parameters-ip.xml.i +++ b/interface-definitions/include/tunnel-parameters-ip.xml.i @@ -1,49 +1,42 @@ - + - IPv4 specific tunnel parameters + Time to live field + + 0-255 + Time to live (default 255) + + + + + TTL must be between 0 and 255 - - - - Time to live field - - 0-255 - Time to live (default 255) - - - - - TTL must be between 0 and 255 - - 255 - - - - Type of Service (TOS) - - 0-99 - Type of Service (TOS) - - - - - TOS must be between 0 and 99 - - inherit - - - - Tunnel key - - u32 - Tunnel key - - - - - key must be between 0-4294967295 - - - - + 255 + + + + Type of Service (TOS) + + 0-99 + Type of Service (TOS) + + + + + TOS must be between 0 and 99 + + inherit + + + + Tunnel key + + u32 + Tunnel key + + + + + key must be between 0-4294967295 + + diff --git a/interface-definitions/interfaces-erspan.xml.in b/interface-definitions/interfaces-erspan.xml.in index afc29a658..64b3af61a 100644 --- a/interface-definitions/interfaces-erspan.xml.in +++ b/interface-definitions/interfaces-erspan.xml.in @@ -46,7 +46,14 @@ ERSPAN Tunnel parameters - #include + + + IPv4 specific tunnel parameters + + + #include + + ERSPAN version number setting(default:1) diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index 279c05cca..45573a826 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -140,7 +140,20 @@ Tunnel parameters - #include + + + IPv4 specific tunnel parameters + + + + + Disable path MTU discovery + + + + #include + + IPv6 specific tunnel parameters -- cgit v1.2.3