[YLUG] Parsable Rack Diagrams

Steve Kemp steve at steve.org.uk
Mon Aug 6 21:11:28 BST 2007


On Mon Aug 06, 2007 at 13:59:24 +0100, Alex Smith wrote:

> I'm trying to get a *parsable* way of mapping the contents of a rack, and then 
> be able to generate a diagram from this.

  So you've got a rack of some kind and you want a diagram of
 it - and a way of parsing the data from that image, or vice-versa?

  Assuming an image like this:

    [    psu    ]
    [  server1  ]
    [  server2  ]
    ...
    [] legs ;) []

  You *might* find that you can draw the diagram in Dia, then
 parse the XML - since it would literally just contain 
 N * "box + text label" pairs.

Steve
--
#  Kink-Friendly Dating
http://ctrl-alt-date.com/



More information about the York mailing list