[openstack-dev] [vitrage] datasources terminology
Afek, Ifat (Nokia - IL)
ifat.afek at nokia.com
Tue Nov 29 07:26:59 UTC 2016
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev