perun.backend.util
Backend util.
Attributes
Functions
|
Return dictionary with the platform related metadata. |
|
Get backend related metadata dictionary based on the current sensor configuration. |
Module Contents
- perun.backend.util.log
- perun.backend.util.getHostMetadata() Dict[str, Any]
Return dictionary with the platform related metadata.
Returns
- Dict[str, Any]
Dictionary with host metadata.
- perun.backend.util.getBackendMetadata(backends: Dict[str, perun.backend.backend.Backend], sensors: Dict[str, Tuple[str]]) Dict[str, Any]
Get backend related metadata dictionary based on the current sensor configuration.
Parameters
- backendsList[Backend]
List with available backends.
- backendConfigDict[str, Set[str]]
Sensor backend configuration to include in the metadata object.
Returns
- Dict[str, Any]
Backend metadata dictionary.