ND4.1: Validation of cisco.nd.rest module#503
Open
sivakasi-cisco wants to merge 12 commits into
Open
Conversation
Author
Collaborator
|
Thanks @sivakasi-cisco for opening this PR. There are some conflicts that need to be resolved. You will likely need to merge latest |
mikewiebe
reviewed
Jul 29, 2025
mikewiebe
reviewed
Jul 29, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 5, 2025
sivakasi-cisco
commented
Aug 6, 2025
sivakasi-cisco
commented
Aug 6, 2025
sivakasi-cisco
force-pushed
the
changes_for_nd_rest
branch
from
August 6, 2025 09:24
e85a9be to
4cb496d
Compare
mikewiebe
reviewed
Aug 6, 2025
sivakasi-cisco
commented
Aug 13, 2025
sivakasi-cisco
commented
Aug 18, 2025
sivakasi-cisco
commented
Aug 18, 2025
sivakasi-cisco
commented
Aug 18, 2025
sivakasi-cisco
commented
Aug 18, 2025
sivakasi-cisco
commented
Aug 19, 2025
sivakasi-cisco
force-pushed
the
changes_for_nd_rest
branch
from
August 20, 2025 07:08
aa152f0 to
846a719
Compare
sivakasi-cisco
force-pushed
the
changes_for_nd_rest
branch
from
August 20, 2025 08:21
846a719 to
fd26e1c
Compare
…c-vxlan into changes_for_nd_rest
sivakasi-cisco
force-pushed
the
changes_for_nd_rest
branch
from
August 20, 2025 18:41
2b67949 to
fdad3c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue(s)
CiscoDevNet/ansible-dcnm#475
Related Collection Role : * [ ] cisco.nac_dc_vxlan.validate
Related Data Model Element: * [ ] other
Proposed Changes
The ND Rest Module needs to be validated against our VXLAN as Code collection to ensure that everywhere our DCNM Rest Module is used we can replace it and it works.
Replace all instances of cisco.dcnm.dcnm_rest with cisco.nd.nd_rest
https://github.com/search?q=repo%3Anetascode%2Fansible-dc-vxlan+dcnm_rest&type=code&p=1
Update Ansible collection requirements to include cisco.nd
https://github.com/netascode/ansible-dc-vxlan-example/blob/main/requirements.yaml
Verify end to end workflows using the nd connection plugin
https://github.com/netascode/ansible-dc-vxlan-example/blob/main/requirements.yaml
Replace this line with ansible_network_os: cisco.nd.nd
Test Notes
Tested with the below playbook
hosts: nac-fabric1
any_errors_fatal: true
gather_facts: no
tasks:
cisco.nd.nd_rest:
#path: "/api/v1/manage/fabricsSummary"
#path: "/api/v1/manage/inventory/switches"
#path: "/appcenter/cisco/ndfc/api/v1/lan-discovery/inventory/modules"
path: "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/"
method: GET
register: result
Cisco NDFC Version
Nexus Dashboard
Version 4.1.0.156b
Checklist