Tools

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Forum Posts

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
  • 514 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
  • 1002 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
  • 1009 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
  • 681 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
  • 959 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
  • 745 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
  • 654 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
  • 1365 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
  • 777 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
  • 878 Views
  • 0 replies
  • 0 Helpful votes

Sometimes I'm asked: how is YDK different from other alternatives?  Instead of doing a direct comparison, I'll share some criteria that can be used to evaluate model-driven APIs.  But, before doing so, let me say that YDK is not a commercial product....

saalvare by • Cisco Employee
  • 1292 Views
  • 0 replies
  • 1 Helpful votes

Team,I'm not quite understanding something with YDK.I created a fresh setup of YDK as shown below...[gibson@rickenbacker PythonProjects]$ git clone https://github.com/CiscoDevNet/ydk-py.gitInitialized empty Git repository in /home/gibson/PythonProjec...

brfoster by • Cisco Employee
  • 2372 Views
  • 5 replies
  • 0 Helpful votes

The YDK-PY samples repository has gone through three important improvements to bring apps in line with the recent enhancements introduced in YDK 0.5.0 and later.  These changes apply to all apps (~250) in the repository:Basic apps now use a file name...

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

Nathan writes: Hi Is here a sample of a read operation with something equivalent to a pretty print of the configuration that has been read? Many thanks Nathan You can use the CRUD service in combination with the codec service to pprint the configurat...

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