tunnel_interface_based_ipv6_gre_encapsulation_test - openconfig/featureprofiles GitHub Wiki

TUN-1.4: Interface based IPv6 GRE Encapsulation

Summary

Validate Interface based Ipv6 GRE Tunnel Config.

Procedure

  • Validate the GRE configuration
    • GRE Tunnel interfaces configuration options
      • Tunnel source
      • Tunnel source should be able to configure with unnumbered interface address
      • Tunnel Destination
      • Directly on Tunnel interface or Tunnel Group
  • Configure such 32 tunnel interfaces
  • Configure static route with IPv6 NH pointing to Tunnel interfaces
  • Send 1000 IPv6 flows from tester on ATE-PORT1 connected to DUT-PORT1
  • Enable the packet capture on ATE ingress port to verify the GRE header of encapped traffic
  • Verify the tunnel interfaces counters to confirm the traffic encapsulation
  • After encapsulation, traffic should be load balanced/hash to all available L3 ECMP or LAG or combination of both features
  • Validate system for:
    • TODO: Health-1.1
    • TODO: No feature related error or drop counters incrementing, discussion with vendors required to highlight additional fields to monitor based on implementation and architecture

Config Parameter coverage

  • Prefix: wbb://software/interfaces/tunnel/

  • Parameters:

    • gre/
    • gre/decap-group/
    • gre/dest/
    • gre/dest/address/
    • gre/dest/address/ipv6/
    • gre/dest/nexthop-group/
    • gre/source/
    • gre/source/address/
    • gre/source/address/ipv6/
    • gre/source/interface/
    • Prefix:
    • wbb://software/routing/nexthop-group/
    • wbb://software/routing/nexthop-group/gre/
  • Prefix:

  • wbb://software/routing/static/

  • Parameters:

    • ipv6/
    • ipv6/admin-dist/
    • ipv6/nexthop/
    • ipv6/nexthop/null/

Telemetry Parameter coverage

  • Prefix:
  • wbb://software/interfaces/tunnel/
  • wbb://software/interfaces/tunnel/gre/
  • Needs to define
    • ST for Tunnel counters
    • ST for packet capture on DUT and ATE to read:
    • Packet metadata
    • IP Source
    • IP Destination
    • IP Protocol number
    • state/counters/in-pkts
    • state/counters/in-octets
    • state/counters/in-error-pkts
    • state/counters/in-forwarded-pkts
    • state/counters/in-forwarded-octets
    • state/counters/in-discarded-pkts
    • state/counters/out-pkts
    • state/counters/out-octets
    • state/counters/out-error-pkts
    • state/counters/out-forwarded-pkts
    • state/counters/out-forwarded-octets
    • state/counters/out-discarded-pkt
    • Fragmentation and assembly counters Filter counters Output to display the traffic is spread across the different tunnel subnet ranges/NH groups/Interfaces

OpenConfig Path and RPC Coverage

rpcs:
  gnmi:
    gNMI.Get:
    gNMI.Set:
    gNMI.Subscribe:
⚠️ **GitHub.com Fallback** ⚠️