laborchestrator.sila_server.feature_implementations.laborchestratorservice_impl module

class laborchestrator.sila_server.feature_implementations.laborchestratorservice_impl.LabOrchestratorServiceImpl(parent_server: Server)[source]

Bases: LabOrchestratorServiceBase

GetStatus(ProcessName: str, *, metadata: MetadataDict) GetStatus_Responses[source]

Returns the status of the specified process

Parameters:
  • ProcessName – Name of the process

  • metadata – The SiLA Client Metadata attached to the call

Returns:

  • ProcessStatus: Status of the process

LoadLabConfiguration(LabConfigurationName: str, *, metadata: MetadataDict) LoadLabConfiguration_Responses[source]

Load a Lab Configuration from Database

Parameters:
  • LabConfigurationName – Name of Lab Configuration to be loaded from the (LARA) database

  • metadata – The SiLA Client Metadata attached to the call

LoadLabConfigurationFile(LabConfigurationFileName: str, *, metadata: MetadataDict) LoadLabConfigurationFile_Responses[source]

Load a Lab Configuration from YAML file

Parameters:
  • LabConfigurationFileName – Filename of Lab Configuration to be loaded - in YAML format.

  • metadata – The SiLA Client Metadata attached to the call

LoadProcess(LabProcessName: str, *, metadata: MetadataDict) LoadProcess_Responses[source]

Load a pythonLab Process

Parameters:
  • LabProcessName – Name of the Labprocess in the LARA database

  • metadata – The SiLA Client Metadata attached to the call

LoadProcessFile(LabProcessFileName: str, *, metadata: MetadataDict) LoadProcessFile_Responses[source]

Load a pythonLab Process file

Parameters:
  • LabProcessFileName – Filenname of the Labprocess

  • metadata – The SiLA Client Metadata attached to the call

Returns:

  • Name: Unique name given to the process. Can be used to reference this process.

StartProcess(ProcessName: str, *, metadata: MetadataDict) StartProcess_Responses[source]

Starts a given process

Parameters:
  • ProcessName – Name of the process to start

  • metadata – The SiLA Client Metadata attached to the call

StopProcess(ProcessName: str, *, metadata: MetadataDict) StopProcess_Responses[source]

Stops a given process

Parameters:
  • ProcessName – Name of the process to stop

  • metadata – The SiLA Client Metadata attached to the call

_abc_impl = <_abc._abc_data object>