watcher.decision_engine.planner.weight
Module¶watcher.decision_engine.planner.weight.
WeightPlanner
(config)[source]¶Bases: watcher.decision_engine.planner.base.BasePlanner
Weight planner implementation
This implementation builds actions with parents in accordance with weights. Set of actions having a higher weight will be scheduled before the other ones. There are two config options to configure: action_weights and parallelization.
Limitations
get_config_opts
()[source]¶Defines the configuration options to be associated to this loadable
Returns: | A list of configuration options relative to this Loadable |
---|---|
Return type: | list of oslo_config.cfg.Opt instances |
schedule
(context, audit_id, solution)[source]¶The planner receives a solution to schedule
Parameters: |
|
---|---|
Returns: | Action plan with an ordered sequence of actions such that all security, dependency, and performance requirements are met. |
Return type: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.