Cisco-SAN / mdssdk

Python SDK/API library for Cisco MDS Switches
Other
5 stars 15 forks source link

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

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