Tools

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

Forum Posts

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 • Community Member
  • 1025 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
  • 1338 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
  • 13613 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 • Community Member
  • 4622 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
  • 1164 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
  • 1380 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
  • 1020 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
  • 822 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
  • 658 Views
  • 0 replies
  • 7 Helpful votes

Hi developers,I want to add trex to my automation tool, which is built with django.In my use, each stlclient is specific to users and I tried to store it to sessions.However, it failed.The ways I have tried is json.dumps() and pickle.dumps().Do you k...

yufenwan by • Community Member
  • 1585 Views
  • 1 replies
  • 0 Helpful votes

YDK uses an extensible set of services to allow you to act on modeled data.  So far, the apps in the ydk-py-samples repository have focused on three services:Codec - Provides encode and decode methods to convert YANG validated data to and from differ...

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