tardis.resources.drone module

class tardis.resources.drone.Drone(*args, **kwargs)[source]

Bases: Pool

property allocation: float

Fraction of the provided resources which are assigned for usage

property batch_system_agent: BatchSystemAgent
property demand: float

The volume of resources to be provided by this pool

property heartbeat_interval: int
property maximum_demand: float
property minimum_lifetime: [<class 'int'>, None]
async notify_plugins() None[source]
register_plugins(observer: Union[List[Plugin], Plugin]) None[source]
remove_plugins(observer: Union[List[Plugin], Plugin]) None[source]
async run()[source]

Service entry point

async set_state(state: State) None[source]

Should be replaced by asynchronous state.setter property once available

property site_agent: SiteAgent
property state: State
property supply: float

The volume of resources that is provided by this pool

property utilisation: float

Fraction of the provided resources which are actively used