Ansible Version
Ansible Collection Versions
Collection Version
------------------ ----------
ansible.netcommon 7.1.0
ansible.posix 2.0.0
ansible.utils 5.1.2
cisco.dcnm 3.11.0-dev
cisco.nac_dc_vxlan 0.7.1-dev
community.general 10.1.0
Cisco Nexus Dashboard Version
3.2, but is not specific to verison
Cisco NX-OS Version
Which role is this issue related to?
cisco.nac_dc_vxlan.validate
Which section of the data model is this issue related to?
other
Expected Behavior
Playbook should fail early at validation phase
Actual Behavior
Playbook fails until ND rejects the call
Ansible Playbook
Data Model
Multiple places can generate the failure: Fabric name, VRF name, VRF VLAN name, Network name, vrf_name(under network)
---
vxlan:
fabric:
name: nac-fabri#:c2 # Will fail
type: VXLAN_EVPN
overlay:
vrfs:
- name: NaC+VRF01 # Will fail
vrf_id: 150001
vlan_id: 2001
vrf_vlan_name: NaC VRF01 vlan2001 # Will fail
vrf_attach_group: all
networks:
- name: NaC#Net01 # Will fail
vrf_name: NaC+VRF01 # Will fail
net_id: 130003
vlan_id: 2303
vlan_name: NaC Net01 vlan2303 # Will fail
gw_ipv6_address: "2001::1/64"
route_target_both: true
l3gw_on_border: true
mtu_l3intf: 7600
int_desc: "Configured by NetAsCode"
network_attach_group: all
Steps to Reproduce
Run the playbook with not accepted values
Relevant Debug Output
Ansible Version
Ansible Collection Versions
Cisco Nexus Dashboard Version
Cisco NX-OS Version
Which role is this issue related to?
cisco.nac_dc_vxlan.validate
Which section of the data model is this issue related to?
other
Expected Behavior
Actual Behavior
Playbook fails until ND rejects the callAnsible Playbook
NAData Model
Steps to Reproduce
Relevant Debug Output