
Hi everyone,
I've been using pygraphviz for many years to represent networks and I currently have a script that represents a Cisco UCS network. I'm representing this network top down like this:
FC Switch1 FC Switch2
| |
UCS FI 1 UCS FI 2
\ /
\ /
FEX1
|
Server1...
I found that the order of the above nodes is maintained when I add the edges using add_edge() with the higher node first and then the lower node second.
My problem is that I just found out that there can be a link/edge between UCS FI 1 and UCS FI 2. When I add that edge the UCS FI 1 now appears higher in the resulting topology diagram.
I've included a couple of edited screen shots that show the difference with the 'peer links' and without.
Any way to include those peer edges/links and still maintain the top down order?
Thanks in advance!
Ed Mazurek