Skip to main content

Python SDK for Cisco MDS Switches

Project description

Python SDK/API library for Cisco MDS Switches.

Python Documentation Status

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 requires NET_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

======= History

v1.5.0 (2022-8-18)

  • Support for new 9124v and 9148v switches

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


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.5.0.tar.gz (424.0 kB view details)

Uploaded Source

File details

Details for the file mdssdk-1.5.0.tar.gz.

File metadata

  • Download URL: mdssdk-1.5.0.tar.gz
  • Upload date:
  • Size: 424.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.7

File hashes

Hashes for mdssdk-1.5.0.tar.gz
Algorithm Hash digest
SHA256 88a9c335d27ba3432e37a2ed456f583bcca734b6ceae59753dc2eef7372d78ff
MD5 781e07a180d15e0055591b1bf4c2b66f
BLAKE2b-256 537ee890c9f496738d9eceba55f9f6206ac5ab7da01886abb4a1e5e88d1986de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page