Skip to content

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

Notifications You must be signed in to change notification settings

Annievu1/CreateVlans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages