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

From: "Santiago Alvarez (saalvare)" <saalvare@cisco.com> Date: Friday, 13 October 2017 at 15:25 To: Hariharan Ananthakrishnan <hari@packetdesign.com>, "Abhi Ramesh Keshav (abhirame)" <abhirame@cisco.com> Cc: "Santiago Alvarez (saalvare)" <saalvare@ci...

Hi,I am geting segfault when doing a read query for interfaces using ydk_openconfig 1.4.1.  IOS-XRv is 6.1.2 version.[root@nclinux ydk]# rpm -qa | grep ydklibydk-0.6.1-1.x86_64libydk-ietf-0.1.3-1.x86_64libydk-openconfig-0.1.4-1.x86_64[root@nclinux yd...

Getting the following error if I try to read IETF interface model. IOS-XR 6.1.2. [root@nclinux ydk]# rpm -qa | grep ydklibydk-0.6.1-1.x86_64libydk-ietf-0.1.3-1.x86_64libydk-openconfig-0.1.4-1.x86_64[root@nclinux ydk]# ./a.out ssh://packet:packet@10.6...

We announced YDK-Py 0.6.0 a month ago.  You can now give it a try using the Vagrant sandbox available in the ydk-py-samples repo.  What exactly is installed? vagrant@ydk-py:~$ pip list | grep ydk ydk                     0.6.0       ydk-models-cisco-...

saalvare by Cisco Employee
  • 1339 Views
  • 3 replies
  • 1 Helpful votes

The YDK Vagrant sandbox is now updated with the latest YDK 0.6.1 release! vagrant@ydk-py:~$ pip list | grep ydk ydk                     0.6.1        ydk-models-cisco-ios-xe 16.6.1.post1 ydk-models-cisco-ios-xr 6.3.1        ydk-models-ietf         ...

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

HI AllI'm using YDK 0.5.2 and I want to find a way to close a session safely.I know that I can use close() to close a session, but when I call close() after a session has been closed, there will be a exception.Is there a way to get the session status...

haoywang by Cisco Employee
  • 1228 Views
  • 3 replies
  • 0 Helpful votes

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
  • 875 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
  • 686 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
  • 2167 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
  • 1582 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
  • 630 Views
  • 1 replies
  • 0 Helpful votes