Skip to content

Dual-stack GRE tunnel integration test#3648

Merged
ipspace merged 1 commit into
devfrom
gre-tests
Jul 17, 2026
Merged

Dual-stack GRE tunnel integration test#3648
ipspace merged 1 commit into
devfrom
gre-tests

Conversation

@ipspace

@ipspace ipspace commented Jul 17, 2026

Copy link
Copy Markdown
Owner

The "GRE tunnel in global VRF" integration test checks dual-stack GRE tunnels over IPv4 and IPv6 transport AF.

@ipspace

ipspace commented Jul 17, 2026

Copy link
Copy Markdown
Owner Author

Missing bit: we need to check AF support and disable IPv6 transport tests for devices like Cisco IOLL2. I can only check that bit when #3646 is implemented, so it might take a bit for this one to be merged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the existing GRE tunnel integration test to exercise dual-stack behavior by validating GRE tunnels over both IPv4 and IPv6 transport address families, including OSPFv2/OSPFv3 adjacencies and prefix reachability checks.

Changes:

  • Extends addressing and link definitions to include a separate IPv6 transport “core6” underlay and an IPv6-transport GRE tunnel.
  • Refactors the topology from multiple DUT nodes to a single dut node with two remote peers (r2, r3) and corresponding static routing.
  • Expands validation to cover OSPFv2/OSPFv3 adjacencies, prefix propagation, and IPv4/IPv6 pings for both GRE-over-IPv4 and GRE-over-IPv6 cases.

Comment thread tests/integration/tunnel/01-gre.yml Outdated
Comment thread tests/integration/tunnel/01-gre.yml Outdated
Comment thread tests/integration/tunnel/01-gre.yml Outdated
@snuffy22

Copy link
Copy Markdown
Contributor

looks like some extra files are included in the current commit that snuck in?

@ipspace

ipspace commented Jul 17, 2026

Copy link
Copy Markdown
Owner Author

looks like some extra files are included in the current commit that snuck in?

AI at its best... "let me fix the failing tests" ;) I've rebased it after merging #3649, so now it's only one file. However, if you want to test GRE on VMs, you must have #3649 in your code (the other endpoint is an FRR container), or it won't work.

@snuffy22

Copy link
Copy Markdown
Contributor

Will try it out, thanks

The "GRE tunnel in global VRF" integration test checks dual-stack GRE
tunnels over IPv4 and IPv6 transport AF.

The GRE-over-IPv6 part is optional and adjusted based on presence of
'ipv6' value in features.tunnel.gre.
ipspace added a commit that referenced this pull request Jul 17, 2026
@ipspace
ipspace merged commit 6ddb864 into dev Jul 17, 2026
12 checks passed
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.

3 participants