4. Planner

The Troy Planner...

class troy.planner.Planner(planner='default', session=None)

Bases: object

The Planner class represents the upper layer, i.e. the application facing layer, of Troy, and thus hosts the API that ultimately will be used by end users. That API allows to submit application workloads, and to monitor their execution progress.

Internally, the planner will transform the given workload into an internal representation upon which the follow-up transformations of the WorkloadManager class will operate. It will further derive an overlay description suitable to run the workload, which downstream will be enacted by the OverlayManager.

derive_overlay(workload_id)

create overlay plan (description) from workload

expand_workload(workload_id)

Expand cardinality parameters in workload.

Previous topic

3. Attributes and Callbacks

Next topic

5. Workload

This Page