vSphere Platform Services Controller (PSC) topology and Omnigraffle

Published by Christian Mohn · Read in about 2 min (265 words)

A little while ago William Lam published a little python script called extract_vsphere_deployment_topology.py that basically lets you export your current vSphere PSC topology as a DOT (graph description language) file. Great stuff, and in itself useful as is, especially if you run it through webgraphviz.com as William suggests.

The thing is, you might want to edit the topology map, change colours and fonts, and even move the boxes around, after you get the output. If you have a large environment, you might want to combine all your PSC topologies into a single document? It turns out, that’s pretty easy to do!

Omnigraffle Pro imports the DOT files natively, and lets you play around with the objects as if they were drawn in Omnigraffle from the beginning. Save the output from the script somewhere as a .dot file. Then open Omnigraffle and go to File -> Open and select the file.

Now, select the Hierarchical option, and you’ll get a nicely formatted canvas with your PSC components already laid out inside of Omnigraffle. Now you can edit it at will!

As far as I can tell, this isn’t possible with Microsoft Visio, as it doesn’t support the DOT format, but you could always save it as a Visio file with Omnigraffle if you need to sent it to your more Microsoft inclined friends.

I’m sure there are more fun to be had with these DOT files, it’s just text files after all, perhaps someone can even code up a script that converts them to Visio .vdx files or some other format that Visio can import natively.

Post last updated on January 2, 2024: Add author

About

vNinja.net is the online hub of Christian Mohn and Stine Elise Larsen.

The site primarily focuses on IT architecture and data center technologies, with a strong emphasis on virtualization and related topics.
While the main content revolves around these areas, you'll also find a range of other subjects covered from time to time, reflecting the interests of authors.

Sponsors