This library will be useful for automating day to day tasks or developing new tools which involve Cisco MDS switches
- Supported NXOS image: 8.4(2) and above
- Python version: 3.6 and above
- Apache License, Version 2.0 (the "License")
-
First create a virtual environment with python3
virtualenv mytestlib -p python3
-
Activate the virtual env
cd mytestlib/ source bin/activate
-
Next download the zip file from the github (
mdsLib-master.zip
) -
unzip the file
unzip mdsLib-master.zip
-
under that folder you will see a
setup.py
file execute thesetup.py
filecd mdsLib-master/ python setup.py install
-
Once successfully done issue
pip list
and you should see these packages installed>>> pip list Package Version ---------- ---------- certifi 2019.11.28 chardet 3.0.4 idna 2.8 mdslib 1.0 <--- pip 20.0.1 paramiko 2.7.1 <--- requests 2.22.0 <--- setuptools 45.1.0 urllib3 1.25.8 <--- wheel 0.33.6 `