02-27-2023
10:26 AM
- last edited on
07-11-2023
01:24 PM
by
Alex Stevenson
I am exploring YANG models using restconf and yangsuite. The test cat9500 is on a secured network, so I am using SSH-forwarding through our jump box to ensure netconf, restconf, and ssh connectivity is operational. YANGSuite is able to communicate with the switch, however, when I try to "Generate API(s)" from restconf, I get an error:
I have tried many different endpoints in the Cisco-IOS-XE-native module. Specifically though, I am trying to work with the ios-stackwise-virtual:domain leaf. Any hints to how to address this error would be appreciated. Thanks.
For reference, I am running yangsuite: 2.9.4 with 2.1.0 yangsuite-restconf version
02-27-2023 01:13 PM
I am able to generate.
Did you get the "tree" before you generate API ?
02-27-2023 03:24 PM
I looked deeper in your issue, looks like if you got the picture you sent pretty much you did what you need to do.
You can send your issue to yangsuite-support-ext@cisco.com to get the help from yangsuite team
07-03-2023 07:42 AM
This is not the YDK. This is yangsuite. Need to know what node in the tree you chose to "Generate APIs" from. Try picking a container above whatever node you chose. Regardless, it should work no matter what node you chose. Do you have the latest version of yangsuite-restconf?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: