Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replication Mode missing in Fabric Config with IPv6 Underlay #262

Open
marehler opened this issue Dec 19, 2024 · 1 comment · May be fixed by #263
Open

Replication Mode missing in Fabric Config with IPv6 Underlay #262

marehler opened this issue Dec 19, 2024 · 1 comment · May be fixed by #263
Assignees
Labels
bug Something isn't working

Comments

@marehler
Copy link

marehler commented Dec 19, 2024

Ansible Version

ansible [core 2.17.0]

Ansible Collection Versions

Collection                               Version
---------------------------------------- -------
ansible.netcommon                        5.3.0  
ansible.posix                            1.5.4  
ansible.utils                            2.11.0 
cisco.dcnm                               3.5.0  
cisco.nac_dc_vxlan                       0.3.0  
cisco.nxos                               5.3.0  
community.general                        8.5.0

Cisco NDFC Version

12.2.2

Cisco NX-OS Version

10.3(6)

Which role is this issue related to?

cisco.nac_dc_vxlan.dtc.create

Which section of the data model is this issue related to?

vxlan.underlay

Expected Behavior

"REPLICATION_MODE": "Ingress"

Actual Behavior

REPLICATION_MODE is missing in fabric config.

Ansible Playbook

---
# This is the main entry point playbook for calling the various roles in this collection.
- hosts: marehler_vnd3
  any_errors_fatal: true
  gather_facts: no

  roles:
    # -----------------------
    # DataCenter Roles
    #   Role: cisco.netascode_dc_vxlan.dtc manages NDFC workflows
    #
    - role: cisco.nac_dc_vxlan.dtc.create
    - role: cisco.nac_dc_vxlan.dtc.deploy
    - role: cisco.nac_dc_vxlan.dtc.remove

Steps to Reproduce

---
vxlan:
  underlay:
    general:
      enable_ipv6_underlay: true
      replication_mode: ingress

Relevant Debug Output

No response

RCA

In the dc_vxlan_fabric_replication.j2 template, there is a condition to include REPLICATION_MODE only if 'enable_ipv6_underlay' is false. This seems to assume that ingress replication was not supported with IPv6 underlay what is not true.

Proposed Fix

Remove the if condition in the template.

@marehler marehler added the bug Something isn't working label Dec 19, 2024
@mtarking mtarking linked a pull request Dec 20, 2024 that will close this issue
16 tasks
@mtarking mtarking self-assigned this Dec 20, 2024
@mtarking
Copy link
Collaborator

@marehler looking back at our pre-releases, this looks like it's been carried like this for a little bit, so good find and thanks for reporting it here as we've not had a lot of IPv6 adoption yet. I've implemented the fix as well as some fixes for better supporting an IPv6 underlay in general that relate to your other issue, #239.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants