call_service Method

call_service(master_ip: str, service_name: str, action_name: str, *args, **kwargs) dict

Calls the service on the computing board.

Parameters:
  • master_ip (str) – IP address of the computing board, e.g.: 192.168.99.2

  • service_name (str) – Name of the service

  • action_name (str) – Name of the action supported by the service

  • args – Variable arguments passed to the service

  • kwargs – Keyword arguments passed to the service

Returns:

The dictionary structure is: {"success": True, "ret": ret}, where: - success: Boolean value indicating whether the call was successful - ret: Specific result data returned by the service

Return type:

dict