Abort
Subarry Node provides API for Abort workflow.
The Sub-array node accepts the command if :-
Admin mode reported by each of the system - CSP,SDP subarray are in ONLINE/ENGINEERING/RESERVED
Operational state of the Sub-array node is ON/OFF/INIT/STANDBY/ALARM
The Sub-array Node rejects the command if :-
Admin mode reported by each of the system - CSP,SDP Sub-array are in OFFLINE or NOT FITTED.
Operational state of the sub-array node is FAULT/UNKNOWN/DISABLE .
- The command execution involves below key operations :-
Active scan timers or command timeouts are cancelled or paused to prevent follow-on automatic actions
Assigned resource records, subarray identifiers, and configuration snapshots are intentionally left intact to enable recovery analysis.
The command is then invoked on the relevant TMC CSP, SDP, MCCS leaf Nodes after perfroming few key checks as below
isSubarrayAvailable is checked to ensure the subsystems (CSP, SDP and MCCS) are available
Subsystem’s current observation state is inspected; if already EMPTY, ABORTING, ABORTED, or FAULT the abort call for that subsystem is skipped with a log note.
Command is then sent to relevant TMC CSP, SDP, MCCS leaf Nodes
If leaf node rejects/ faces failure in seding abort command , command failure is reported as ‘RESULT_CODE - FAILED’ on Long Running Command Result attribute of the TMC Subarry node.Command will not be sent to remaining subsystems in this case if multiple subsystems are involved .
If all leaf node accept command , the TMC Subarry node will wait for command completion.
The Sub-array node monitors the progress of command via the Sub-array node ObsState transitions and the long running command results.
Command is successful when the TMC Subarray Node transitions to ABORTED ObsState. This is reported as ‘RESULT_CODE - OK’ on Long Running Command Result attribute of the Subarray node.
Command failure is reported in any of the below cases as ‘RESULT_CODE - FAILED’ on Long Running Command Result attribute of the Subarray node.
The CSP Leaf node/SDP Leaf node/MCCS Leaf node reports ‘RESULT_CODE - FAILED’ on its Long Running Command Result attribute
The command times out if TMC SubarrayNode does not transition to ABORTED within the timeout period specified by CommandTimeOutDefault property specified in helm chart of the TMC Subarray node .
If Abort command fails , TMC Subarry node will move to FAULT.