Coder Social home page Coder Social logo

get-brocade's Introduction

get-brocade

Retrieve a SAN Fabric's information from the brocade switches.

get-brocade.py <fabric_name> will retrieve the switchshow output, zoneshow output (from the first switch), and parse out the alias list from zoneshow. The alias list is in a convienient format for parsing with standard UNIX tools later. One huge feature of this: If it runs across an L-Port, the program will descent to 'portshow' to gather the WWN list for that L-Port, and do an alias match against it.

get-brocade.conf The config file. This shows the switch DNS name => fabric name mapping.
In theory, there's no limit to the number of switches in a fabric, but the data gathering is serialized currently, so it could be slow for very large fabrics.
Ex:
switch1.domain.com => fabric_a
switch2.domain.com => fabric_a
switch3.domain.com => fabric_a
switch4.domain.com => fabric_b
switch5.domain.com => fabric_b
switch6.domain.com => fabric_b

defines two fabrics, each with three switches in them Switch names must be FQDN's

NOTE: This program requires paramiko to be installed somewhere in the python path. Otherwise, this should be fairly generic to python 2.4 or higher

get-brocade's People

Contributors

zapman449 avatar

Stargazers

Florian Heigl avatar  avatar  avatar Melank avatar Allison Kipta avatar

Watchers

 avatar James Cloos avatar yijun xiang avatar  avatar  avatar

Forkers

sadatned disence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.