Pdu Health Model

An implementation of a health model for a PDU.

class PduHealthModel(health_changed_callback, ignore_power_state)

A health model for a PDU.

At present this uses the base health model; this is a placeholder for a future, better implementation.

__init__(health_changed_callback, ignore_power_state)

Initialise a new instance.

Parameters:
  • health_changed_callback (Callable) – a callback to be called when the health of the PDU (as evaluated by this model) changes

  • ignore_power_state (bool) – whether the health model should ignore the power state when computing health.