[racktables-users] Calculated fields on the rack

Right now, racks auto-calculate the amount of free space available.  How
hard would it be to add calculations based on attributes?

As an example, I want to do something really specific: power.  I need to be
able to calculate the amount of *rack* power consumed in each rack.
Further, I need to be able to calculate the total power consumed by all the
racks in a single row/facility.  Unfortunately, this is somewhat difficult
to do.  Each rack has a pair of circuits supplying it with redundant power,
so for my purposes I claim only one of the circuits.  All of the devices
connected to this circuit have to be summed, and less than the total power
available on the circuit.  Further, I need to be able to add up all power
consumption, including the systems with dedicated power (e.g. Bladecenters).

It feels like I should set up another connection type (power) and create a
bunch of named connections, each with it's own value (e.g. max wattage) and
connect this to the systems (for calculation purposes).  To be really
spiffy, I'd want the rack to figure out all of the power connections coming
in and display usage/availability on each one.

Yes, I'm asking for the sky.

Other related posts: