FspUnitComponentManager Class

class ska_mid_cbf_mcs.fsp_unit.fsp_unit_component_manager.FspUnitComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

Component manager for Fsp Unit.

start_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any) None[source]

Establish communication with the component, then start monitoring.

stop_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any) None[source]

Thread for stop_communicating operation.

property resource_status: str

Getter Function for resource_status

Returns:

A JSON string representation of FSP’s Resource Status

Return type:

str

get_resource_status() str[source]

Retrieves the the resource status from all available FSP devices and format it into a ResourceStatus VCC Status Object JSON string.

Retrieves the following from the FSP devices:

  • used_by_subarrays: The subarrays that is/are using the FSP

  • health_state: HealthState of the FSP

  • admin_mode: AdminMode of the FSP

  • vcc_unit_id: This VCC Unit’s ID

Returns:

a JSON string

Return type:

str