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
6 stars 6 forks source link

Back-out topology defaulting #136

Closed mtarking closed 2 months ago

mtarking commented 2 months ago

Back-out topology defaulting to empty dict

juburnet commented 2 months ago

@mtarking - there is also an issue with the other update made in the previous PR for overlay_services:

TASK [cisco.nac_dc_vxlan.create : Manage NDFC Fabric VRFs] ********************************************************************************************************************************************
task path: /Users/juburnet/Library/CloudStorage/OneDrive-Cisco/Justin/SaC/sac-workspace/sac-ndfc/nac-ndfc/collections/ansible_collections/cisco/nac_dc_vxlan/roles/dtc/create/tasks/vrfs_networks.yml:34
fatal: [fabric_full_small]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "config": [],
            "fabric": "netascode_fabric4",
            "state": "replaced"
        }
    },
    "msg": "config: element is mandatory for this state replaced"
}

Need to remove the following also

         else:
             self.model_data['vxlan']['overlay_services'] = {}