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 last released 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 file

Uninstallation Steps

To uninstall mdssdk,

   pip uninstall mdssdk

Documentation

Support Matrix

NXOS Version SDK Version
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.3.2 (2021-10-7)

  • Fix analytics setter api
  • added setup.cfg for pypi

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

Uploaded Source

File details

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

File metadata

  • Download URL: mdssdk-0.0.7.tar.gz
  • Upload date:
  • Size: 95.7 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

Hashes for mdssdk-0.0.7.tar.gz
Algorithm Hash digest
SHA256 31f396c459eb2281c6ab7f741519239f9c5c1fd9f9ba5ec26517ffaaac856782
MD5 e4e0809ac49fee33d5a3a14430dbd2bc
BLAKE2b-256 ba3ad63bdc86ba4541ec0ae524b611d54adfd12bf81f6b8da28ee2c4382ac8e5

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