manila/manila/share
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
..
drivers Merge "Add manage/unmanage support to NetApp cDOT driver" 2015-09-01 08:46:08 +00:00
hooks Add share hooks 2015-09-04 19:04:34 +03:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
api.py Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
configuration.py Use oslo_log lib 2015-02-08 10:42:40 +00:00
driver.py Add share hooks 2015-09-04 19:04:34 +03:00
drivers_private_data.py Provide private data storage API for drivers 2015-05-26 17:53:00 +03:00
hook.py Add share hooks 2015-09-04 19:04:34 +03:00
manager.py Add share hooks 2015-09-04 19:04:34 +03:00
rpcapi.py Add methods for share instances in Share API 2015-08-26 11:09:39 +03:00
share_types.py Add possibility to filter back ends by snapshot support 2015-08-26 23:05:37 +03:00
utils.py Pool-aware Scheduler Support 2015-02-04 23:27:06 +00:00