Mario Villaplana ff32b51bbf Add power state change notifications
This adds optional notifications emitted when ironic changes a node's power
state or when ironic detects a change in a node's power state.

These notifications can be consumed by any external service listening to the
message bus to perform functions like tracking node power state changes over
time or automatically responding to anomalous power states.

The event_types of the new notifications are:

* baremetal.node.power_set.{start,end,error}
* baremetal.node.power_state_corrected.success

This also adds a new NodePayload class for notification payloads related
to nodes.

Change-Id: I82702e7f959d666bb02b59d1fc53ab50b519cb74
Closes-Bug: 1526408
2016-10-17 15:39:18 +00:00
..
2016-05-17 07:44:44 -04:00
2016-10-17 15:39:18 +00:00
2016-08-23 12:49:04 -07:00