cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
315
Views
0
Helpful
0
Replies

The YDK-Py sandbox now runs the latest release (0.5.1)

saalvare
Cisco Employee
Cisco Employee

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 the latest versions of all model bundles (Cisco IOS XR, OpenConfig and IETF).

How do you use it?

  1. Install VirtualBox and Vagrant on your system (Linux, macOS or Windows)
  2. Clone (or download) the YDK-Py sample apps:
    $ git clone git@github.com:CiscoDevNet/ydk-py-samples.git
  3. Bring your sandbox up:
    $ vagrant up
  4. Connect to the sandbox using ssh:
    $ vagrant ssh
  5. Verify the YDK installation on your sandbox:

    vagrant@ydk-py:~$ pip list | grep ydk

    ydk (0.5.1)ydk-models-cisco-ios-xr (6.1.1)

    ydk-models-ietf (0.1.1)

    ydk-models-openconfig (0.1.1)

    vagrant@ydk-py:~$

The main README file in the ydk-py-samples repository provides some additional details on how to manage your sandbox.  The  guide for getting started with Vagrant also provides more details.

Try it out!

0 Replies 0