Hi,

I think we have a confusing terminology in Vitrage datasources.

The following parameters are used in the drivers and transformers:

  *   event_type: the type of event/notification that comes from the 
datasource. For example: ‘compute.instance.delete.end’,  ‘volume.detach.start’
  *   event_action: used to tell the evaluator what to do with the entity - 
create, update or delete it.
  *   action_type: the type of action that was performed by the driver: 
init_snapshot, snapshot or update.

Personally I find these names very confusing.
My suggestion is to rename action_type to datasource_mode, or something similar.

Your thoughts?

Thanks,
Ifat.

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to