Cloning the workshop repo repo:
git clone https://github.com/ciscops/viptela-workshop.git --recursive
Navigate to the viptela-workshop
directory.
$ cd viptela-workshop/
Note: All subsequent exercises will be in this directory unless otherwise noted.
Install requirements with pip:
pip install -r requirements.txt
Install sshpass (see pre-requisites).
Deploy Topology:
Create a file named .virlrc
in the viptela-workshop
directory:
VIRL_USERNAME=guest
VIRL_PASSWORD=guest
VIRL_HOST=your.virl.server
Note: your values will be different.
Run the build
playbook to the build the topology in viptela1_csr.virl
:
ansible-playbook build.yml
Note: The username is used in the session ID by default. A different tag can be specified by adding
-e virl_tag=<tag name>
.
This playbook will:
- Launch the topology file
- Wait until they show as reachable in VIRL
You have completed lab exercise 1.0
Click Here to return to the Viptela Networking Automation Workshop