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

In two previous post, we discussed the Executor service and how to send custom syslog messages using that service.  In addition to the Syslog RPC (action), XR 6.1.2 also provides an RPC to rollback configuration.  Here are three sample apps to roll b...

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

Ok, hopefully, we don't have to rely on Syslog much longer for network management, but, for the time being, let's see how to automate custom Syslog messages.  Cisco IOS XR has allowed you to generate custom Syslog messages for quite some time.  Histo...

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

HI Santiago,I tried to use nc-read-xr-shellutil-cfg-20-ydk.py to read the hostname on a IOS-XRv on VIRL. However, it said the server reject...What I modified the code is changing "import urlparse" to "import urllib.parse" because I'm using python3.an...

yitung by Cisco Employee
  • 1423 Views
  • 6 replies
  • 0 Helpful votes

The first version of ydk-cpp has been released on github as version 0.5.2 (alpha)!Here is a list of features that have gone into the releaseIntroduced support for C++ YDK bindings (issue#118, related commits and pull requests)Added support for CRUD, ...

abhirame by Cisco Employee
  • 483 Views
  • 1 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 releaseCRUD service / Codec service / Netconf service improvementsImproved error handling for mismatched model API types (#241)Fixed issues with ce...

abhirame by Cisco Employee
  • 592 Views
  • 1 replies
  • 6 Helpful votes

More than 400 sample apps26 XR native modelsFour OpenConfig modelsTwo services (CRUD and Codec)One Github repository: ydk-py-samplesWorking on the next 100 (more openconfig models, new services, more XR models)!!

saalvare by Cisco Employee
  • 399 Views
  • 0 replies
  • 5 Helpful votes

SR mappings are required to connect SR devices with other MPLS devices using LDP.  Here are five sample apps to configure IPv4 and IPv6 mappings:nc-create-xr-segment-routing-ms-cfg-20-ydk.py - mapping with single IPv4-to-SID rangenc-create-xr-segment...

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

Hi all.    I'm looking for to draw the whole datacenter resources and their relationship until found NeXt. I think NeXt can help me to do it.  Now I have three questions when I using NeXt tools, please give me some help, thanks!    1, when the x, y p...

dazhaoyu by Level 1
  • 2260 Views
  • 4 replies
  • 1 Helpful votes

A while back, we published a couple of sample apps for segment routing:nc-create-xr-clns-isis-cfg-40-ydk.py - IPv4 ISIS Segment Routingnc-create-xr-clns-isis-cfg-41-ydk.py - IPv6 ISIS Segment RoutingHere are four more sample apps for segment routing....

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

Resolved! get_config error

Hi,I'm a newbie to YDK.  I'm trying to pull the configurations from XRv instances using ydk.services.NetconfService.get_config.  However, I'm not correctly entering my attributes.  Provider is self explanatory, but I keep getting errors on 'source' a...

kegrozis by Level 4
  • 1614 Views
  • 5 replies
  • 0 Helpful votes

Want to encode an OpenConfig Telemetry configuration in XML?  Here are some sample apps to get you started:cd-encode-oc-telemetry-30-ydk.py - dialin single sensor-group/subscriptioncd-encode-oc-telemetry-32-ydk.py - dialin multiple sensor-pathscd-enc...

scadora by Cisco Employee
  • 477 Views
  • 0 replies
  • 5 Helpful votes

Just posted some simple sample apps to configure gRPC dial-in telemetry configurations using the OpenConfig YANG model:nc-create-oc-telemetry-30-ydk.py - dialin with single sensor-group/subscriptionnc-create-oc-telemetry-32-ydk.py - dialin with multi...

scadora by Cisco Employee
  • 452 Views
  • 0 replies
  • 5 Helpful votes

These apps are so simple that I may make one of them the YDK "hello world" example going forward    Here's how  to manage the host name on an IOS XR device:CRUD custom apps:nc-create-xr-shellutil-cfg-20-ydk.py - set hostnamenc-delete-xr-shellutil-cfg...

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

Resolved! Get config in xml

Is there a ydk method for retrieving the full config - in xml - of the router (like the get_config of ncclient.manager)?

tdouk by Level 1
  • 600 Views
  • 1 replies
  • 0 Helpful votes
Top Solution Authors