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

Resolved! Error Running YDK

I have set up a new YDK 0.4.2 environment and I am trying to run the sample YDK python script.  I'm seeing an error...(ydk-py) [gibson@rickenbacker ydk-py]$ python2.7 ./samples/bgp.py -hTraceback (most recent call last):  File "./samples/bgp.py", li...

brfoster by Cisco Employee
  • 938 Views
  • 3 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 releaseError handling improvementsFixed local validation to correctly check for types and values (#116)Introduced error hierarchy to represent err...

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

Continuing with our OpenConfig theme for this week, check out five new custom apps to configure BGP using OpenConfig:nc-create-config-bgp-41-ydk.py - IPv6 iBGP neighbor group without policync-create-config-bgp-42-ydk.py - IPv4 iBGP neighbor group wit...

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

Let's kick off our OpenConfig week with sample apps for routing policy.  Four boilerplate apps for CRUD operations, plus fivecustom apps to create and delete routing policies using this OpenConfig model (openconfig-routing-policy):nc-create-config-ro...

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

Title says it all.... A total of 100 sample apps at https://github.com/CiscoDevNet/ydk-py-samplesApps for close to 15 models. From super simple (system time) to more advanced (BGP).  Working on the next 100!Enjoy!

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

Recently we published a set of sample apps IPv6 static routing.  This new set complements those with some IPv4 examples:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/ipnc-create-config-ip-static-20-ydk.py - route ...

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

Here are some additional sample apps for interface configuration.  They complement those posted recently for IPv6.  You can find the sample apps at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/ifmgrNote that thes...

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

Ok, we all know that routers don't reboot, right?  Specially with the enhanced infrastructure in XR 6.0.0 which runs all control plane as a container on top of a Linux kernel.  However, stuff happens.  Operator error or some catastrophic event takes ...

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

Configuring the device time zone. As simple as it gets.  You can find sample apps at:https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/infraThis model/API (Cisco-IOS-XR-infra-infra-clock-linux-cfg) is a great starting...

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