Skip to content

Conversation

@tech-of-all-trades
Copy link
Contributor

This PR extends the Terraform module to support VRF-aware IPv6 PIM configuration including RP address per VRF and interface-level sparse-mode.

Add Terraform module support for VRF-aware IPv6 PIM configuration
and interface-level IPv6 PIM control with comprehensive TRM
deployment examples.

New Resources:
- iosxe_ipv6_pim: Global/VRF IPv6 PIM RP configuration
- iosxe_interface_ipv6_pim: Interface IPv6 PIM (Ethernet, Loopback, VLAN, Port-channel)

Features:
- Per-VRF RP addresses with group ranges (e.g., ff70::/12)
- Interface PIM enablement
- Bidirectional PIM support

Example (`./examples/ipv6_pim/`):
- TRM scenario with 2 VRFs and isolated multicast domains
- 3 RP Loopbacks, 3 multicast VLANs
- Different group ranges per VRF

CLI Support:
- `ipv6 pim [vrf <name>] rp-address <addr> <range>`
- `ipv6 pim` (interface-level)

Files:
- iosxe_ipv6_pim.tf
- iosxe_interfaces.tf
- examples/ipv6_pim/.terraform-docs.yml
- examples/ipv6_pim/README.md
- examples/ipv6_pim/versions.tf
- examples/ipv6_pim/main.tf
- examples/ipv6_pim/ipv6_pim.nac.yaml
- .pre-commit-config.yaml (terraform-docs hook)
- README.md (auto-generated)
@tech-of-all-trades tech-of-all-trades marked this pull request as draft November 19, 2025 20:40
@tech-of-all-trades tech-of-all-trades marked this pull request as ready for review November 20, 2025 13:36
@tech-of-all-trades
Copy link
Contributor Author

This PR closes Issue 437

@tech-of-all-trades
Copy link
Contributor Author

Current CI Failures

WHAT:

The terraform validate test fails with the error, "Invalid resource type". The provider, ciscodevnet/iosxe, does not support the resource type iosxe_ipv6_pim.

WHY:

The terraform-iosxe-nac-iosxe module is using the published version of the provider from the Terraform Registry, which does not yet include the iosxe_ipv6_pim and iosxe_interface_ipv6_pim resources created in PR 374.

SOLUTION:

Once the IPv6 PIM resources from PR 374 are accepted/merged into 'main' branch and get published to the Terraform Registry, the CI pipeline should then run successfully.

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.

1 participant