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

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
  • 487 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
  • 458 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
  • 376 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
  • 605 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
  • 514 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
  • 331 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
  • 681 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
  • 708 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
  • 479 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
  • 660 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
  • 531 Views
  • 0 replies
  • 0 Helpful votes

One of the simplest ways you can get started with YDK is using the YDK-Py sandbox based on Vagrant.  The sandbox provides an Ubuntu (16.04) virtual machine with YDK-Py pre-installed.  The installation includes the latest release of YDK (0.5.1) and th...

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

During the NANOG 68 conference, we delivered a 90-minute introduction to YDK that is posted on YouTube.  You can watch the entire presentation at:https://www.youtube.com/watch?v=2oqkiZ83vAAThe session covers:A general introduction to the benefits of ...

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

One of the requirements for MPLS Traffic Engineer is to enable RSVP signalling and to define how bandwidth should be managed on an interface (bandwidth constraints model). The ydk-py-samples repository now has six custom applications to configure RSV...

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

The ydk-py-samples repository now has eight sample applications for static and dynamic (DNS) domain lookup.  All apps use the CRUD service:nc-create-xr-ip-domain-cfg-20-ydk.py - static (local) hostsnc-create-xr-ip-domain-cfg-22-ydk.py - single domain...

saalvare by Cisco Employee
  • 669 Views
  • 0 replies
  • 0 Helpful votes
Unanswered Topics
Top Solution Authors