strategy to trigger "power on" and "power off" actions in watcher

Registered by YumengBao

For a data center with large amount of VMs and physical hosts,the total power consumption is tremendous.
When workload is not heavy, Watcher can be used to reduce power consumption by triggering a request to power off some idle hosts without VMs.
And when the workload increases watcher will trigger a "power on" request to fullfill the service requirements.

This feature includes four sub-features:
1) Build a new baremetal (ironic) data model within current Watcher Cluster Data Model
2) Add new actions "power on" and "power off" in Watcher
3) Implement a new strategy based on 'baremetal' and 'compute' data models, which could trigger 'compute' and 'baremetal' actions.
4) Update the bare metal data model by ironic notifications

This BP implements the third sub-feature: Implement a new strategy based on 'baremetal' and 'compute' data models, which could trigger 'compute' and 'baremetal' actions.

Blueprint information

Status:
Complete
Approver:
Alexander Chadin
Priority:
Medium
Drafter:
YumengBao
Direction:
Approved
Assignee:
YumengBao
Definition:
Approved
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
None
Started by
Alexander Chadin
Completed by
YumengBao

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/strategy-to-trigger-power-on-and-power-off-actions,n,z

Addressed by: https://review.openstack.org/476416
    Energy Saving Strategy

Addressed by: https://review.openstack.org/476767
    Saving Energy Strategy

Addressed by: https://review.openstack.org/479650
    Specs for Saving Energy Strategy

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.