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,If  I were to write a yang file (with any dependent yang modules in say ietf/cisco-ios-xr, etc) and convert that into a cpp file using ydk-cpp, could you please let me know the steps involved ? This will help me to understand ydk-cpp framework bet...

Hello communityIs there a yang model to apply the command "clear ip bgp" on XE?I have searched it but I have not found it.As far as I know yang models are focused on configuration commands (under config mode on CLI),but what about operational command...

muromero7 by Level 1
  • 834 Views
  • 2 replies
  • 0 Helpful votes

Hi,I ran into this issue with libyang, any pointer ?Thanks2017-10-11 16:44:48,923 - ydk - INFO - Executing get RPC2017-10-11 16:44:48,934 - ydk - ERROR - Libyang ERROR: Unexpected character(s) '&' (&gt;0).Traceback (most recent call last):

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

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
  • 2081 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
  • 1530 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
  • 601 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
  • 895 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
  • 9345 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
  • 3467 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
  • 771 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
  • 1030 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
  • 659 Views
  • 0 replies
  • 0 Helpful votes