You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Ansible Version and collection version
Ansible core: 2.18.0
dcnm collection: 3.5.0
DCNM version
ND 3.2.1i/NDFC 12.2.2
Affected module(s)
dcnm_inventory
Ansible Playbook
Task:
- name: Add Switches to VXLAN Fabriccisco.dcnm.dcnm_inventory:
fabric: "{{ vxlan_fabric_parameters.FABRIC_NAME }}"state: mergedconfig: "{{ vxlan_switch_list }}"register: result
Issue:
Switch addition to inventory fails if Default credentials are not set in NDFC.
Solution:
While discovering the switch adding the additional attribute credLan field is used.
Community Note
Ansible Version and collection version
Ansible core: 2.18.0
dcnm collection: 3.5.0
DCNM version
Affected module(s)
Ansible Playbook
Task:
Vars:
Debug Output
https://gist.github.com/pritispa/3cd01036e1d62493fcaa802d2b86d502
Expected Behavior
Without Default creds being set in NDFC, there are two options to handle this situation:
discoveryCredForLan
(GUI:Set individual device write credential
) which should be set to true by defaultActual Behavior
Because of no device write credentials (and no default creds set), devices get stuck in
migration
modeSteps to Reproduce
Just try to add switches to inventory using this module, while having no default creds being set in NDFC GUI.
References
The text was updated successfully, but these errors were encountered: