Python SDK for Cisco MDS Switches
Project description
Python SDK/API library for Cisco MDS Switches.
This library will be useful for automating day to day tasks or developing new tools which involve Cisco MDS switches
- Python version: 3.6 and above
- Supports both NXAPI and SSH
- Limited support for N9K and FI
- Apache License, Version 2.0 (the "License")
Installation Steps
From pip:
Installs the latest version.
pip install mdssdk
export NET_TEXTFSM=$HOME/mdssdk-templates/
From github:
git clone https://github.com/Cisco-SAN/mdssdk.git
cd mdssdk
python setup.py install
pip install -r requirements.txt
export NET_TEXTFSM=$HOME/mdssdk-templates/
Note:
mdssdk
requiresNET_TEXTFSM
environment variable to be set- This variable points to the directory where the textfsm templates are copied to
- To set the env please execute the below command after installing
mdssdk
export NET_TEXTFSM=$HOME/mdssdk-templates/
- It is recommended that you add this env permanently into your
.bashrc
or.cshrc
file
Uninstallation Steps
To uninstall mdssdk,
pip uninstall mdssdk
Documentation
Support Matrix
NXOS Version | SDK Version |
---|---|
9.2(2) and below | v1.4.0 |
9.2(1) and below | v1.3.3 |
8.5(1) and below | v1.2.0 |
8.4(2b) and below | v1.1.0 |
8.4(2a) and below | v1.0.1 |
======= History
v1.4.0 (2022-1-27)
- Support for installation via pip install
- Fix analytics setter api
- added setup.cfg for pypi upload
v1.3.0 (2021-8-23)
- Limited Support for N9K and FI
- Some bug fixes and enhancements
v1.2.0 (2021-2-17)
- Support for 8.5(1) release
- Some bug fixes and improvements
v1.1.0 (2020-08-21)
- Support for 8.4(2b) release
- Many bug fixes and improvements
v1.0.1 (2020-05-11)
- Python SDK/API library for Cisco MDS switches
- PEP8 Compliance
- Supported modules are switch,devicealias,vsan,zone,zoneset and many more
- Please check the documentation for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdssdk-1.4.0.tar.gz
(96.6 kB
view details)
File details
Details for the file mdssdk-1.4.0.tar.gz
.
File metadata
- Download URL: mdssdk-1.4.0.tar.gz
- Upload date:
- Size: 96.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb51e77ae40a7f0ede644c0737ba3fc54afb1d3130adb6ff4a19bb288f07cdf6 |
|
MD5 | 132e35f85e082174224e02493608d4e7 |
|
BLAKE2b-256 | a0c7e8c81ba9e7c2ce04dd2893d27bedf46e8141f09d023ba28031a06d65b847 |