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.1 (2022-9-4)

  • bug fix

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.1.tar.gz (96.8 kB view hashes)

Uploaded Source

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