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.
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
./setup-x86_64 -P `awk 'NR==1{printf \$1}{printf ",%s", \$1}' packagelist`
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
MIT
Larry Smith Jr.
- @mrlesmithjr
- EverythingShouldBeVirtual
- mrlesmithjr.com
- mrlesmithjr [at] gmail.com