Tools

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Developer Sustainability Week Events

Build for Better Code Challenge

Cisco U. Spotlight Registration


>> View previously featured conversations <<

Forum Posts

Hi,I am running some scripts against the NETCONF-YANG and RESTCONF sandbox, and appear to be having a problem with deleting configuration.  Instantiating a crud object with crud = CrudService() is fine, and works with crud.create(provider, native), h...

sihart by Cisco Employee
  • 2178 Views
  • 6 replies
  • 0 Helpful votes

YANG models not only define configuration and operational data.  They also define remote procedure calls or commands.  Cisco IOS XR 6.1.2 starts introducing models for those RPCs or commands.  Those models define how to roll back config, test SNMP tr...

saalvare by Cisco Employee
  • 1590 Views
  • 4 replies
  • 2 Helpful votes

Hi,When I try to use ExecutorService in Python, I receive this errorydk.errors.YPYError: Unable to cast Python instance to C++ type (compile in debug mode for details)Disconnected from deviceDisconnected from deviceAny pointers to get around this ?Th...

ttdo by Level 1
  • 633 Views
  • 1 replies
  • 0 Helpful votes

Added few OSPF sample Apps with Netconf service on IOS XE platforms. You can use as a reference and build your own apps with YDK.nc-edit-config-xe-native-router-ospf-20-ydk.py - single area ipv4 routernc-edit-config-xe-native-router-ospf-30-ydk.py - ...

krishna426 by Cisco Employee
  • 938 Views
  • 0 replies
  • 0 Helpful votes

Starting with release 0.5.4, YDK-PY is now part of the Python package index (PyPi). This means a dramatically simpler installation experience.  Instead of downloading/cloning the YDK-Py code, building source packages and installing them in a particul...

saalvare by Cisco Employee
  • 9741 Views
  • 23 replies
  • 12 Helpful votes

Resolved! get-schema

Hi,I try to use Python inetconf API to get schema of open device box.I keep getting empty data as return.  The messages exchanged with open box device as belowI think open device doesn't like xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring...

ttdo by Level 1
  • 3615 Views
  • 3 replies
  • 0 Helpful votes

Python documentation is currently hosted at http://ydk.cisco.com/py/docsThe C++ documentation can currently be found at http://ydk.cisco.com/cpp/docsPlease report any documentation issues you may find. Thanks!

saalvare by Cisco Employee
  • 806 Views
  • 0 replies
  • 0 Helpful votes

You will find an initial set of Python sample apps in the YDK-Py repo on GitHub.  Similarly, you will find a number of C++ sample apps in the YDK-Cpp repo on GitHub.  Now, if you want a much wider range of Python examples, we have a dedicated ydk-py-...

saalvare by Cisco Employee
  • 1062 Views
  • 0 replies
  • 0 Helpful votes

We've reached over 700 sample apps in the ydk-py-samples repository!  More contributors, more models, more services, more apps:725 basic apps58 data models (config, operational, RPCs)4 model bundles (Cisco IOS XR, Cisco IOS XE, OpenConfig, IETF)4 YDK...

saalvare by Cisco Employee
  • 694 Views
  • 0 replies
  • 0 Helpful votes

Both ydk-gen and ydk-cpp have been updated at github.Here is a list of features that have gone into the release:2017-09-25 version 0.6.1C++Updated cisco-ios-xr bundle to support Cisco IOS XR 6.3.1 releaseAlso updated openconfig bundle version 0.1.4 w...

abhirame by Cisco Employee
  • 592 Views
  • 0 replies
  • 6 Helpful votes

Both ydk-gen and ydk-py have been updated at github.Here is a list of features that have gone into the release:2017-09-25 version 0.6.1PythonUpdated cisco-ios-xr bundle to support Cisco IOS XR 6.3.1 releaseUpdated cisco-ios-xe bundle to continue to s...

abhirame by Cisco Employee
  • 488 Views
  • 0 replies
  • 7 Helpful votes