I found that in the NX-OS 9.2.1 module Cisco-NX-OS-device.yang there is an error in description field in line 102933; it erroneously contains '\' at the end of the line, which confuses libyang YANG parser. This error in the model was fixed in release 9.2.3. In order to address this issue I copied corrected module file to default repository under $USER/.ydk/22.214.171.124/. Then I ran your script and it failed again, but this time due to RPC error. The issue with your script is that it requests entire system config and oper data, and apparently the device choked on it. Then I modified the script to get just one leaf 'systemuptime' and that worked well.
Here is my script:
from ydk.models.cisco_nx_os import Cisco_NX_OS_device as device from ydk.services import CRUDService from ydk.providers import NetconfServiceProvider from ydk.filters import YFilter
FOSDEM is a truly unique experience and arguably the best open source conference of the year. It is a weekend event (February 1-2 this year) organized by open source enthusiasts to promote the widespread use of free and open source software...
Introduction:https://github.com/jeremyschulman/genie-quickstartAs a network automation engineer responsible for creating tools for use with Cisco devices I am always on the lookout for software products and technologies. I’ve been following the Cisco DevN...
Would you like to know how TRex helps in supporting BGP/OSPF/RIP/ISIS on both ipv4/v6, and how network emulation or routing emulation is possible, is all here in the nerdlunch video.
Know more about how DevX has added more capabilities, much stable builds...
NBI Notifications API will be deprecated in Prime 3.7 and removed in future releases. We will update API documentation to reflect this.
NBI Server-Sent Events API is official replacement for the Notifications API. In 3.7 we will provid...
What is Network Emulation?
Network emulation is one of the key elements of effective network testing, helping you find problems in-house instead of customer environments. To create such test environments, it would require either physical hardware or ...