Skip to content

Adding IPv6 outer header usecases for UDP and GRE encaps#5470

Open
nkhambal wants to merge 5 commits into
openconfig:mainfrom
nkhambal:mpls_encap_decap_with_ipv6_outer_header
Open

Adding IPv6 outer header usecases for UDP and GRE encaps#5470
nkhambal wants to merge 5 commits into
openconfig:mainfrom
nkhambal:mpls_encap_decap_with_ipv6_outer_header

Conversation

@nkhambal
Copy link
Copy Markdown

@nkhambal nkhambal commented May 15, 2026

This PR adds test case coverage for using IPv6 outer header for MPLSoverGRE and MPLSoverUDP encap and decap test cases, in addition to IPv4 outer header

@nkhambal nkhambal requested review from a team as code owners May 15, 2026 02:14
@OpenConfigBot
Copy link
Copy Markdown

OpenConfigBot commented May 15, 2026

Pull Request Functional Test Report for #5470 / d8e02f7

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Cisco 8000E status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Cisco XRd status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Juniper ncPTX status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Nokia SR Linux status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Openconfig Lemming status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Cisco 8808 status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Juniper PTX10008 status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL
Nokia 7250 IXR-10e status
status
status
status
status
status
PF-1.25: Egress Static MPLS LSP Verification
PF-1.17: MPLSoGRE and MPLSoGUE MACsec
PF-1.18: MPLSoGRE and MPLSoGUE QoS
PF-1.20: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload scale test
PF-1.19: MPLSoGUE IPV4 decapsulation of IPV4/IPV6 payload
PF-1.9: Egress handling of TTL

Help

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request expands the test suite coverage for MPLS over GRE/UDP encapsulation and decapsulation by introducing support for IPv6 outer headers. The changes include detailed test procedures, configuration examples, and telemetry validation steps for multiple scenarios, including MACsec-encrypted links, QoS-aware forwarding, and high-scale decapsulation performance.

Highlights

  • IPv6 Outer Header Support: Added comprehensive test coverage for IPv6 outer header encapsulation and decapsulation across various MPLS, GRE, and UDP scenarios.
  • MACsec Integration: Included new test cases for validating MPLS over GRE/UDP over IPv6 encapsulation specifically over MACsec-encrypted links.
  • QoS and Scale Testing: Added test documentation for QoS prioritization with IPv6 outer headers and scaled decapsulation testing for 1000 unique IPv6 flows.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds several new test plans (PF-1.25.v6, PF-1.17.6, PF-1.17.v6, PF-1.18.v6, PF-1.20.v6, and PF-1.19.v6) focused on validating MPLS static LSPs and various encapsulation/decapsulation methods (GRE, UDP, GUE) using IPv6, covering MACsec, QoS, and scale scenarios. Feedback indicates that several Canonical OC configurations are incomplete, specifically missing the 'rules' container or detailed match/action criteria for policy forwarding. Additionally, the 'decapsulate-mpls-in-udp' leaf needs to be corrected to a boolean type and added where missing to properly trigger decapsulation.

Comment thread feature/policy_forwarding/otg_tests/mpls_gre_udp_macsec/README.md
Comment thread feature/policy_forwarding/otg_tests/mpls_gre_udp_macsec/README.md
Comment thread feature/policy_forwarding/otg_tests/mpls_gre_udp_qos/README.md
Comment thread feature/policy_forwarding/otg_tests/mpls_gue_ipv4_decap_scale_test/README.md Outdated
nkhambal and others added 4 commits May 14, 2026 19:20
…test/README.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…EADME.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants