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

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
  • 389 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
  • 675 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
  • 2229 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
  • 543 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
  • 1601 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
  • 460 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
  • 439 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
  • 356 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
  • 590 Views
  • 1 replies
  • 0 Helpful votes

Want to configure an IPv4 VRF?  Here's a sample app to do just that:nc-create-xr-infra-rsi-cfg-20-ydk.py - IPv4 VRFWant to encode an IPv4 VRF configuration in XML?  Here's a sample app to do just that:cd-encode-xr-infra-rsi-cfg-20-ydk.py - IPv4 VRFGi...

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

More than 300 YDK sample apps!22 Cisco IOS XR models (BGP, IS-IS, OSPF, CDP, VRF, DNS, NTP, etc.)3 OpenConfig models (BGP, Routing Policy, MPLS)2 services (CRUD, Codec)1 repository: ydk-py-samples

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

The Codec service is a handy mechanism to encode and decode a configuration object into and from XML.    Let's close this IPv6-only week with 15 new sample apps to encode IPv6-only configuration in XML.IPv6 VRF appcd-encode-xr-infra-rsi-cfg-21-ydk.py...

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

Fourth batch of apps for this "IPv6-only week".  Two custom apps to create and delete IPv6 VRFs using the CRUD service:nc-create-xr-infra-rsi-cfg-21-ydk.py - IPv6 VRFnc-delete-xr-infra-rsi-cfg-20-ydk.py - delete all VRF configurationYou also got the ...

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

Third batch of apps for this "IPv6-only week".  Five sample apps to configure IGP routing for IPv6 using OSPFv3. Samples include both single-area and inter-area configurations:nc-create-xr-ipv6-ospfv3-cfg-20-ydk.py - single-area IPv6 routingnc-create...

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