Health State
- class ska_control_model.HealthState(value)
Python enumerated type for health state.
- DEGRADED = 1
The device reports this state when only part of its functionality is available. This value is optional and shall be implemented only where it is useful.
For example, a subarray may report its health state as
DEGRADED
if one of the dishes that belongs to a subarray is unresponsive (or may report health state asFAILED
).Difference between
DEGRADED
andFAILED
health state shall be clearly identified (quantified) and documented. For example, the difference between aDEGRADED
andFAILED
subarray might be defined as:the number or percent of the dishes available;
the number or percent of the baselines available;
sensitivity
or some other criterion. More than one criterion may be defined for a device.
- FAILED = 2
The device reports this state when unable to perform core functionality and produce valid output.
- OK = 0
A device reports this state when there are no failures that are assessed as affecting the ability of the device to perform its function.
- UNKNOWN = 3
The device reports this state when unable to determine its health.
This is also an initial state, indicating that health state has not yet been determined.