cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
163
Views
3
Helpful
6
Replies

Where to find the Cisco Nexus NX-API DME Model Reference?

felix6
Level 1
Level 1

I’m curios to work with the Cisco Nexus NX-API DME REST-API to programmatically change configuration on the Cisco Nexus 9000 Switches.

However, it seems like the link to the API reference provided on the Website is broken. https://developer.cisco.com/site/cisco-nexus-nx-api-references/#

Where I can find the API reference?

Thank you in advance.

EDIT: I'm referring to this link: https://developer.cisco.com/site/nxapi-dme-model-reference-api/, which is presented on the page mentioned above.

1 Accepted Solution

Accepted Solutions

@felix6 I’m not sure if this is the same page moved to another location/name, searching the developer documentation this comes up? https://developer.cisco.com/docs/dme-docs-9-3-5/reference/ there is also versions 10.x onwards.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

View solution in original post

6 Replies 6

Jens Albrecht
Level 7
Level 7

Hello @felix6,

I just checked the link using the latest versions of Google Chrome and Firefox and it is working just fine.

So maybe it was just a temporary issue.

HTH!

Hello @Jens Albrecht

I think my message was a bit misleading. I'm referring to the "Cisco Nexus NX-API DME Model Reference" link presented under the "Reference" section. It points to https://developer.cisco.com/site/nxapi-dme-model-reference-api/, however this page doesn't seem to exist.

Jens Albrecht
Level 7
Level 7

Hello @felix6,

Cisco has decided to consolidate all information into the official programmability guides for each NX-OS version which now contain DME/REST introductions and examples linking to the API reference. Therefore, the former dedicated DME Model Reference API subpage was sunset and is no longer available.

So if you navigate to a specific release’s "User Guide and API Reference," you’ll find the entire DME object model, supported REST endpoints, and configuration examples for the Cisco Nexus NX-API DME REST API.

HTH!

Hello @Jens Albrecht

Thank you very much for taking the time to provide an answer. I truly appreciate it. The “User Guide and API Reference” already offers a good overview of various configurations. However, I’m still having difficulty finding the complete DME object model reference. The "NX-API-REST Modeled Objects" section includes the following paragraph:

Starting with Cisco NX-OS 7.0(3)I5(2), the managed objects in Cisco NX-API-REST are documented in the Cisco NX-API Model Reference document https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

The same link is presented in most of the Configuration Guides under "Related Documentation":

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload: https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

However, this link is again invalid and results in a 404 for me.

To be more precise, I would like to obtain a full list of all available classes and their corresponding attributes, ideally as a single file. Is something like that available? Or do I have to sift through all the Configuration Guides in order to gather such a list?

@felix6 I’m not sure if this is the same page moved to another location/name, searching the developer documentation this comes up? https://developer.cisco.com/docs/dme-docs-9-3-5/reference/ there is also versions 10.x onwards.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hello @bigevilbeard

indeed https://pubhub.devnetcloud.com/media/dme-docs-10-4-3/docs/appendix provides the table with all the available paths and linked class references I was searching for. Thanks a lot!