Jump to: navigation, search

Difference between revisions of "Nova/VersionedNotificationTransformation"

(Tasks)
(Tasks)
Line 33: Line 33:
 
|-
 
|-
 
| instance.pause || open ||  ||  ||  
 
| instance.pause || open ||  ||  ||  
 +
|-
 +
| instance.unpause || open ||  ||  ||
 
|-
 
|-
 
| instance.power_on || open ||  ||  ||  
 
| instance.power_on || open ||  ||  ||  
Line 41: Line 43:
 
|-
 
|-
 
| instance.shelve || open ||  ||  ||  
 
| instance.shelve || open ||  ||  ||  
 +
|-
 +
| instance.shelve_offload || open ||  ||  ||
 +
|-
 +
| instance.unshelve || open ||  ||  ||
 
|-
 
|-
 
| instance.snapshot || open ||  ||  ||  
 
| instance.snapshot || open ||  ||  ||  
Line 47: Line 53:
 
|-
 
|-
 
| instance.suspend || open ||  ||  ||  
 
| instance.suspend || open ||  ||  ||  
 +
|-
 +
| instance.resume || open ||  ||  ||
 +
|-
 +
| instance.restore || open ||  ||  ||
 
|-
 
|-
 
| instance.trigger_crash_dump || open ||  ||  ||  
 
| instance.trigger_crash_dump || open ||  ||  ||  
Line 53: Line 63:
 
|-
 
|-
 
| instance.create || open ||  ||  || Some of the instance.create.<phase> notifications has extra payload
 
| instance.create || open ||  ||  || Some of the instance.create.<phase> notifications has extra payload
 +
|-
 +
| instance.rebuild || open ||  ||  ||
 
|-
 
|-
 
| instance.rebuild.scheduled || open ||  ||  || we might need to change the event_type
 
| instance.rebuild.scheduled || open ||  ||  || we might need to change the event_type
|-
 
| instance.resize.prep || open ||  ||  || we might need to change the event_type
 
 
|-
 
|-
 
| instance.resize || open ||  ||  ||  
 
| instance.resize || open ||  ||  ||  
 
|-
 
|-
| instance.restore || open ||  ||  ||
+
| instance.resize.prep || open ||  ||  || we might need to change the event_type
|-
 
| instance.resume || open ||  ||  ||
 
|-
 
| instance.shelve_offload || open ||  ||  ||
 
|-
 
| instance.unpause || open ||  ||  ||  
 
 
|-
 
|-
 
| instance.finish_resize || open ||  ||  || we might want to change the even_type
 
| instance.finish_resize || open ||  ||  || we might want to change the even_type
Line 73: Line 77:
 
|-
 
|-
 
| instance.resize.revert || open ||  ||  ||  
 
| instance.resize.revert || open ||  ||  ||  
|-
 
| instance.rebuild || open ||  ||  ||
 
 
|-
 
|-
 
| instance.live.migration.abort || open ||  ||  || we might need to change the even_type to make it consistent
 
| instance.live.migration.abort || open ||  ||  || we might need to change the even_type to make it consistent
Line 85: Line 87:
 
|-
 
|-
 
| instance.live_migration._post || open ||  ||  || we might want to change the even_type
 
| instance.live_migration._post || open ||  ||  || we might want to change the even_type
|-
 
| instance.unshelve || open ||  ||  ||
 
 
|-
 
|-
 
| instance.live_migration.post.dest || open ||  ||  || we might want to change the event_type
 
| instance.live_migration.post.dest || open ||  ||  || we might want to change the event_type

Revision as of 13:10, 2 June 2016

Goal

Transform every legacy notification to the new versioned notification framework.

How to do it

Tasks

The easy ones that uses the same payload as instance.delete:

event type status taken by review comments
instance.delete subteam review gibi https://review.openstack.org/#/c/313654 This shall be the base of for the other instance.<action> transformation
instance.shutdown open
instance.scheduled open
instance.create_ip open
instance.delete_ip open
instance.evacuate open
instance.migration open
instance.pause open
instance.unpause open
instance.power_on open
instance.power_off open
instance.reboot open
instance.shelve open
instance.shelve_offload open
instance.unshelve open
instance.snapshot open
instance.soft_delete open
instance.suspend open
instance.resume open
instance.restore open
instance.trigger_crash_dump open
instance.unrescue open
instance.create open Some of the instance.create.<phase> notifications has extra payload
instance.rebuild open
instance.rebuild.scheduled open we might need to change the event_type
instance.resize open
instance.resize.prep open we might need to change the event_type
instance.finish_resize open we might want to change the even_type
instance.resize.confirm open
instance.resize.revert open
instance.live.migration.abort open we might need to change the even_type to make it consistent
instance.live_migration.pre open we might want to change the event_type
instance.live_migration.rollback.dest open we might want to change the event_type
instance.live_migration._rollback open we might want to change the event_type
instance.live_migration._post open we might want to change the even_type
instance.live_migration.post.dest open we might want to change the event_type

The complex instance.<action> notifications:

event type status taken by review comments
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example

The rest:

event type status taken by review comments
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example
Example Example Example Example Example