Hi there, I've been experimenting w/ IOS-XE 16.5.1 on a CSR & have attempted to query the RESTCONF API. I have had some success, but, honestly, I'm having a hard time getting the information that I want. Being able to identify the correct URI to extract targeted data has been time-consuming because it's based on me just attempting random hit & miss URI combinations to get the data I want. I haven't been able to make sense of how to map the YANG models directly to a functional URI & was hoping that someone could provide me with some guidance on how to take a specific YANG model & then be able to access the desired information within.
A concrete example:
I have configured MPLS tunnels between 2 CSR's & am attempting to query the Cisco-IOS-XE-mpls.yang model.
The closest URI I get to which provides meaningful info is as follows:
1) which datastore: operational/data/config/running ? some YANG models have "-oper" on the end of them, but otherwise I'm clueless.
2) once you know the datastore, how do you know how to access the specific module that you want? Is there a concrete process for doing this? In Cisco documentation (and other tutorials) I constantly see the same example of querying ieee-interfaces, but nothing w/ more detail.
3) is there a way to show API structure (like a list of keys, etc) through querying the API?
4) is there a way to output an entire yang data model (even if parts of it are empty)
Any help or even a push in the right direction would be greatly appreciated!
Difference between USGMII and USXGMII:
USGMII is used for 8x10M/100M/1GE network ports, with each port maximum speed of 1GE. USXGMII-Single Port version can be used to support ONE network port with 10M/100M/1G/2.5G/5G/10G data rates
USGMII is used...
Hi, how to execute linux-commands (which are executeable directly in the guestshell) from IOS-XE sample :[guestshell@guestshell ~]$ cat test.txt | grep SmartSmart Licensing Status: Smart Licensing is DISABLED[guestshell@guestshell ~]$ exit ...
Hi Everybody! I am trying to get the configuration from a nexus 9000v virtualized in my home lab, I am always getting this error. Exception has occurred: RPCError
File "C:\4_4 Modernizing_Netwo...