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

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
  • 1876 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
  • 413 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
  • 1162 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
  • 338 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
  • 337 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
  • 281 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
  • 383 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
  • 360 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
  • 226 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
  • 488 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
  • 501 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
  • 346 Views
  • 0 replies
  • 0 Helpful votes

Second batch of apps of this "IPv6-only week".  Six sample apps to configure DNS in an IPv6 network:nc-create-xr-ip-domain-cfg-21-ydk.py - static (local) IPv6 hostsnc-create-xr-ip-domain-cfg-23-ydk.py - single domain with various IPv6 DNS serversnc-c...

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

Let's make this week another instance of "IPv6-only week".  All YDK examples will be IPv6 only.  Let's start with NTP. Three sample apps to configure NTP on an IPv6 network:nc-create-xr-ip-ntp-cfg-21-ydk.py - IPv6 NTP servernc-create-xr-ip-ntp-cfg-23...

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