Assign Resources
TMC SDP Leaf node provides API for Assign Resources workflow.
The TMC SDP Leaf node accepts the command if:
Operational state of the TMC SDP Leaf node is ON, OFF, INIT, STANDBY, or ALARM.
The TMC SDP Leaf node rejects the command if:
Operational state of the TMC SDP Leaf node is FAULT or UNKNOWN.
The following state requirements are applied for command execution:
SDP Subarray is in observation state EMPTY or IDLE.
SDP Subarray node is available.
The command execution involves the following key operations:
The input JSON is validated. If malformed, the command is failed with an exception message.
If the interface schema version is missing from the input JSON, it is added.
The command is then invoked on the SDP Subarray.
If the SDP Subarray raises an exception, command failure is reported as RESULT_CODE - FAILED on the Long Running Command Result attribute of the TMC SDP Leaf node.
If the SDP Subarray accepts the command, the TMC TMC SDP Leaf node will wait for command completion.
The TMC SDP Leaf node monitors the progress of the command via the SDP Subarray node ObsState transitions and the Long Running Command Results.
Command is successful when the SDP Subarray Node transitions to IDLE ObsState. This is reported as RESULT_CODE - OK on the Long Running Command Result attribute of the TMC SDP Subarray Leaf Node.
Command failure is reported in any of the following cases as RESULT_CODE - FAILED on the Long Running Command Result attribute of the TMC SDP Subarray Leaf Node:
The SDP Subarray reports an error event when the command is invoked.
The command times out if the SDP Subarray Node does not transition to IDLE within the timeout period specified by the CommandTimeOutDefault property in the Helm chart of the TMC SDP Leaf node.
Input JSON to the SDP Subarray must conform to the schema detailed at:
https://developer.skao.int/projects/ska-telmodel/en/latest/schemas/sdp/ska-sdp-assignres.html