Annievu1 / CreateVlans

Leverages Cisco DevNet always on sandbox and PyATS & Genie, to automate vlan creation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Case

This allows you to connect to a switch via SSH and automate the creation of vlans by looping through a defined list of desired vlan number(s) and vlan name(s). The switch in this use case connects to the Cisco always on DevNet Sandbox. https://developer.cisco.com/site/nx-os/

PyATS & Genie

PyATS is the core platform frame work and Genie is the SDK specializing in network device automation & validation. https://developer.cisco.com/docs/pyats/#!introduction/cisco-pyats-network-test--automation-solution

Installation

  1. Create a virtual environment
  2. Use pip to install PyATS (https://pypi.org/project/pyats/) and Genie SDK (https://pubhub.devnetcloud.com/media/genie-docs/docs/cookbooks/genie.html)
  3. Run the command 'pip install -r requirements.txt' to install all dependencies

About

Leverages Cisco DevNet always on sandbox and PyATS & Genie, to automate vlan creation


Languages

Language:Python 100.0%