Visualization of configurations for EMC CLARiiON/VNX

In my previous post I talked about report tool for NAR files from EMC CLARiiON/VNX.

One thing generating by that tool is a configuration visualization diagram.
I separated this code from that complex tool and rewrite in on the Python to simplify its usage.

This new tool take relation file extracted from NAR file:

# naviseccli analyzer -archivedump -rel array.nar -xml -overwrite y -out rel.xml

And generate configuration description in the GraphViz format (in a DOT language).
It outputs the result into a new file or to standard output, that can be piped to the GraphViz:

# narconfiguration.py -i rel.xml | dot -Tpng > diagram.png

The diagram provided in the two ways: “usual” and “compact”.

The “usual” diagram:

test2

And the “compact” diagram:

test1

The “compact” diagram is good for a small array configurations.

The source code of the tool is available here: https://github.com/vzaigrin/NarTools/blob/master/narconfiguration.py

Feel free to use it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s