tardis.resources.drone module

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

Bases: cobald.interfaces._pool.Pool

property allocation: float

Fraction of the provided resources which are assigned for usage

property batch_system_agent: tardis.agents.batchsystemagent.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
async notify_plugins() None[source]
register_plugins(observer: Union[List[tardis.interfaces.plugin.Plugin], tardis.interfaces.plugin.Plugin]) None[source]
remove_plugins(observer: Union[List[tardis.interfaces.plugin.Plugin], tardis.interfaces.plugin.Plugin]) None[source]
async run()[source]

Service entry point

async set_state(state: tardis.interfaces.state.State) None[source]

Should be replaced by asynchronous state.setter property once available

property site_agent: tardis.agents.siteagent.SiteAgent
property state: tardis.interfaces.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