manila/manila
Valeriy Ponomaryov a0e07a77d0 Add share hooks
Add new feature called 'hooks', that allows to:
- Perform actions before some share driver methods calls.
- Perform actions after some share driver methods calls with results of
driver call and preceding hook call.
- Call additional 'periodic' hook each 'N' ticks.
- Possibility to update results of driver's action by post-running hook.

Features of hooks:
- Errors can be suppressed.
- Any of hooks can be disabled.
- Any amount of hook instances can be run.

Known limitations:
- Hooks are not asynchronous. It means, if we run hooks, and especially,
more than one instance, then all of them will be executed in one thread.

Implements bp mount-automation-framework

Change-Id: I7f496ac49e828f361c18ff89c5a308d698f2a4aa
2015-09-04 19:04:34 +03:00
..
api Add Share instances Admin API 2015-08-31 13:41:17 +03:00
cmd Enable multi-process for API service 2015-07-23 10:22:24 +00:00
common Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
compute Fix exceptions handling for py34 compatibility 2015-08-05 17:15:46 +03:00
db Merge "Use Share Instance ID in 'name' property" 2015-09-01 19:37:41 +00:00
hacking Remove hacking exception for oslo.messaging import 2015-03-02 08:00:44 +01:00
locale Imported Translations from Transifex 2015-05-03 08:14:17 +02:00
network Merge "Lazy Load Services" 2015-08-26 06:31:41 +00:00
openstack Add availability zones support 2015-08-26 18:48:16 +03:00
scheduler Merge "Fix AttributeError without share type provided" 2015-09-01 12:58:34 +00:00
share Add share hooks 2015-09-04 19:04:34 +03:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Add share hooks 2015-09-04 19:04:34 +03:00
volume Fix exceptions handling for py34 compatibility 2015-08-05 17:15:46 +03:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
context.py Remove unused oslo-incubator modules 2015-04-25 16:24:09 +00:00
exception.py Merge "Fix incorrect variable name in some exception class" 2015-09-01 11:23:27 +00:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Add share hooks 2015-09-04 19:04:34 +03:00
policy.py Use oslo_policy lib instead of oslo-incubator code 2015-04-21 13:05:42 +03:00
quota.py Replace (int, long) with six.integer_types 2015-07-31 07:12:12 -04:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Add availability zones support 2015-08-26 18:48:16 +03:00
test.py Lazy Load Services 2015-08-24 16:55:00 -04:00
utils.py New Manila HDS HNAS Driver 2015-08-27 09:52:32 -03:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Fix string/binary conversions for py34 compatibility 2015-08-07 15:33:36 +03:00