Tools

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

Forum Posts

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 Community Member
  • 1023 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) '&' (>0).Traceback (most recent call last):

ttdo by Community Member
  • 815 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
  • 2681 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
  • 2008 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 Community Member
  • 791 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
  • 1148 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
  • 11588 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
  • 4159 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
  • 1004 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
  • 1215 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
  • 841 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
  • 725 Views
  • 0 replies
  • 6 Helpful votes