Tools

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

Forum Posts

Hi All,   I'm trying a simple python script based on the YDK module to send some BGP configuration to ODL. I've based my script on the example found in core/samples/path_odl_bgp.py and bgp_xr_opendaylight.py.   But when I run my script I got the foll...

voxnetwork by • Frequent Visitor
  • 2343 Views
  • 6 replies
  • 0 Helpful votes

I’ve hit this problem when getting the config of a IOS-XR 6.6.3 (YDK classes are for 6.6.2), it seems that YDK is not working well with the class 'Snmp' from module 'Cisco_IOS_XR_snmp_agent_cfg'. The 6.6.3 is supposed to be only bug fixes of 6.6.2 (I...

vsoaresf by • Cisco Employee
  • 1141 Views
  • 1 replies
  • 0 Helpful votes

Hi,I have included the python installation in LD_LIBRARY_PATH, but while installing ydk through "pip install ydk", I am getting the following error:/tmp/pip-install-5vc0wm56/ydk/python.cpp:541:39: warning: unused parameter ‘left’ [-Wunused-parame...

sindhujit by • Frequent Visitor
  • 6196 Views
  • 16 replies
  • 0 Helpful votes

I'm trying to configure BGP on Juniper vMX 19.2R1.8 using one of the examples in YDK repo:import logging from ydk.services import CodecService, CRUDService from ydk.providers import CodecServiceProvider, NetconfServiceProvider from ydk.models.opencon...

Received the following error when running the below code and not sure how to troubleshoot it or see if it's a known bug on the code level I'm running on the switch or YDK library (any pointers on where to look for open bugs would be appreciated too)....

I hope that this forum has room for basic questions because by the looks of it you guys are well down this YDK path while I'm stumbling around.  I'm really psyched about ydk-py, everything just looks awesome so I really want to learn this tool.  One ...

 Both ydk-gen and ydk-cpp have been updated at GitHub. The updated documentation is available online at https://ciscodevnet.github.io/ydk-go/ or locally from your cloned repository: 'firefox ydk-cpp/docs/index.html'New features and enhancements:Added...

yangorelik by • Spotlight
  • 1109 Views
  • 2 replies
  • 0 Helpful votes

Hello.I'm experimenting with ydk-examples from https://github.com/CiscoDevNet/ydk-py-samples and got stuck in something.I'm trying to deploy this config on XRv9K import logging from ydk.services import CodecService, CRUDService from ydk.providers imp...

Hello Community,    I brought the last set of ACL sample apps for basic level ydk-py.  You can encode OpenConfig ACL configurations with this set of sample applications.   cd-encode-oc-acl-10-ydk.py - encode boilerplate cd-encode-oc-acl-30-ydk.py - a...

deom by • Cisco Employee
  • 4491 Views
  • 10 replies
  • 0 Helpful votes

Team,   Can someone post example YDK code for configuring interface encapsulation?  Like this XML...   <config> <interface-configurations xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg"> <interface-configuration> <active>act</active> <interfa...

brfoster by • Cisco Employee
  • 1398 Views
  • 1 replies
  • 0 Helpful votes

Hi Team,   I am able to test some of sample python programs using YDK + XR.  However, getting error while using YDK with NX-OS ? I tried CRUD read/write it seems to be not working. Do we have any sample for YDK for NX-OS ?   I am testing latest YDK w...

prmalik by • Cisco Employee
  • 1359 Views
  • 1 replies
  • 0 Helpful votes

Hi, Python3 and Python3-pip installed successfully but when trying to install ydk-py using:sudo -H pip3 install ydk-models-cisco-ios-xr command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-l1f6352_/ydk/setup.py';f=getat...

 Both ydk-gen and ydk-go have been updated at GitHub. The updated documentation is available online at https://ciscodevnet.github.io/ydk-go/ or locally from your cloned repository: 'firefox ydk-go/docs/index.html'Here is a list of new features and fi...

yangorelik by • Spotlight
  • 772 Views
  • 0 replies
  • 0 Helpful votes