netascode / ansible-dc-vxlan

Ansible Collection for configuring a VXLAN Fabric using Direct to Controller (DTC) or Direct To Device (DTD) workflows.
https://galaxy.ansible.com/ui/repo/published/cisco/nac_dc_vxlan/
MIT License
7 stars 9 forks source link

Fabric does not deploy with ND 3.2 because of ENABLE_SGT and ENABLE_PVLAN options missing #170

Closed cpaggen closed 3 weeks ago

cpaggen commented 3 months ago

With ND 3.2, the default VxLAN-as-code ansible example does not deploy a fabric and errors out complaining option ENABLE_SGT is not configured. After configuring it manually, the fabric still does not deploy because option ENABLE_PVLAN must also be specified. This is most likely because of the GPO introduction in NDFC/ND.

To manually fix the issue, edit collections/ansible_collections/cisco/nac_dc_vxlan/roles/dtc/common/templates/ndfc_create_fabric.j2 and add these two options:

mikewiebe commented 3 months ago

HI @cpaggen thanks for raising this. I have an experimental PR open to address this for different versions of NDFC but it's not the official way we want to solve this issue. We are in discussions about the best way to handle version differences.

https://github.com/netascode/ansible-dc-vxlan/pull/128

cpaggen commented 3 months ago

@mikewiebe ack - you can close this issue in that case. My primary concern was to help folks running a similar problem with a quick and dirty workaround.

mtarking commented 1 month ago

Addressing via #203 once reviewed and accepted.

@mikewiebe @dsx1123 we need to expand/modify the data model for this as well.