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

The YDK-Py Vagrant sandbox now runs the latest version 0.5.4.  If you want to use it and are a newcomer, clone the ydk-py-samples repository: $ git clone https://github.com/CiscoDevNet/ydk-py-samples.git That repository provides over 500 samples apps...

saalvare by Cisco Employee
  • 767 Views
  • 1 replies
  • 6 Helpful votes

Hi ExpertsI found two errors when try to delete config:1. When I tried to delete a neighbor in router BGP, an error occured:File "/Users/Muyiwhy/Documents/workspace/ydk_bgp/backend/util.py", line 56, in delete    crud.delete(provider, object)  File "...

haoywang by Cisco Employee
  • 814 Views
  • 4 replies
  • 5 Helpful votes

Hi,as my first try with YDK, I'm trying to read configuration of the static routes (something I have been doing with ncclient). The code is simple:log = logging.getLogger('ydk')log.setLevel(logging.DEBUG)ch = logging.StreamHandler()log.addHandler(ch)...

dvulovic by Cisco Employee
  • 664 Views
  • 4 replies
  • 0 Helpful votes

Root cause Analysis:I was facing issues when I tried to compile YDK with augmented ietf_interface values. The issue is with the YDK parsing file. There were 2 issues,         1. The YDK parser file take the base ietf_interface.py file and our augment...

Hi,I have tried today to install YDK on Windows and it couldn't do it because of lxml. YDK (including just released 0.54) depends on exact lxml version 3.4.4 from 2015. As I have newer version by default, I had to use virtualenv but pip could not bui...

dvulovic by Cisco Employee
  • 2486 Views
  • 8 replies
  • 1 Helpful votes

Here's a how YDK-Py is listed in the Python Package Warehouse:https://pypi.org/search/?q=ydkWarehouse is a next generation Python Package Repository designed to replace the legacy code base that currently powers PyPI.  Fresh look, same install instru...

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

Hi teams - I'm trying to customize the autonetkit config generation and I can't seem to find documentation on the module.  For instance I want to generate a routing command (put a neighbor in a bgp peer-group) based on the ip of the interface that au...

Hi there,I purchased a student version of the VIRL and I want to install it on a  Laptop that has 5i CPU with 8GB RAM. I did a run install initially but I notice that I am not getting an IP address or the network card is not being recognized. Now the...

I know for NSO I need to use yang to build the service templates, so maybe YDK could speed up that process? I have a bunch of Cisco devices that are running regular IOS (3850s, ASR1ks, Cat 4510s, on IOS 15.2), not XE/XR, so NSO is the only way I can ...

Jason Belk by Cisco Employee
  • 596 Views
  • 2 replies
  • 0 Helpful votes

I'm working with csr1000v 16.4.1. I have this code:from ydk.models.cisco_ios_xe.ned import Nativefrom ydk.services import CRUDService, NetconfService, Datastorefrom ydk.providers import NetconfServiceProviderbgp = Native().router.Bgp()bgp.id = 100new...

fredrikjj by Level 1
  • 550 Views
  • 4 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:Changed dependent libraries (#382)Use header-only spdlog library for loggingUse header-only catch library for testingCompletely remove boo...

abhirame by Cisco Employee
  • 286 Views
  • 0 replies
  • 1 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:Improved logging to indicate message directionality (#388)Provide more details for validation error message for leaf-lists (#398)Remove ind...

abhirame by Cisco Employee
  • 310 Views
  • 0 replies
  • 1 Helpful votes

Hi,I am new to YDK and having some problems when trying to apply an ip address to a created Loopback address.  Any pointers much appreciated.The following error is given:-ydk.errors.YPYModelError:   InterfaceConfigurations.interface_configuration: (I...

sihart by Cisco Employee
  • 637 Views
  • 2 replies
  • 1 Helpful votes