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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: mdssdk-1.5.1.tar.gz
  • Upload date:
  • Size: 96.8 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.1.tar.gz
Algorithm Hash digest
SHA256 dfe3724441e849ecfddefb9342dfd8ce06ffa01c753219b03b5f39a4ea28c54d
MD5 feb938818d8a4e8374a8777c983302fe
BLAKE2b-256 6d6c55ae0b810fc14fa19fe6c4f0afded15a8e7830517a8e03047167d633c21e

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