Skip to content

tjle/cisco-tetration-management

 
 

Repository files navigation

cisco-tetration-management

The code within this repo is for managing a Cisco Tetration environment using the OpenAPI included within the product. Currently the functionality is quite limited and leverages a Python script. Over time this will likely grow to leveraging Ansible.

Setting Up Environment

Windows Server 2012R2+/Windows 10

Requirements

Windows PowerShell

Note: Chocolatey needs to be installed in order to install required packages.

  • Install Chocolatey
    • Open PowerShell as an administrator:
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  • Install Windows Apps
choco install git googlechrome python2

After installing the above exit PowerShell and then re-open PowerShell otherwise pip will fail as not found.

  • Install Python Virtualenv
pip install virtualenv
Windows Cygwin
./setup-x86_64 -P `awk 'NR==1{printf \$1}{printf ",%s", \$1}' packagelist`

macOS/Linux

Usage

Clone repo from GitHub cisco-tetration-management

cd ~
mkdir projects
cd projects
git clone https://github.com/mrlesmithjr/cisco-tetration-management.git
cd cisco-tetration-management

Create a Python virtual environment

virtualenv venv

Source the venv Python virtual environment

.\venv\Scripts\activate.ps1

Install additional Python modules

pip install -r requirements.yml

License

MIT

Author Information

Larry Smith Jr.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%