manila/manila/tests/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 "Fix failing Quobyte unit test" 2015-09-01 14:27:48 +00:00
__init__.py Remove reference to 'in-use' state in share manager 2014-07-25 12:06:00 -04:00
test_api.py Merge "Fix incorrect variable name in some exception class" 2015-09-01 11:23:27 +00:00
test_driver.py Add share hooks 2015-09-04 19:04:34 +03:00
test_drivers_private_data.py Provide private data storage API for drivers 2015-05-26 17:53:00 +03:00
test_hook.py Add share hooks 2015-09-04 19:04:34 +03:00
test_manager.py Add share hooks 2015-09-04 19:04:34 +03:00
test_rpcapi.py Add methods for share instances in Share API 2015-08-26 11:09:39 +03:00
test_share_types.py Replace assertEqual(None, *) with assertIsNone in tests 2015-08-23 09:07:13 +09:00
test_share_utils.py Replace assertEqual(None, *) with assertIsNone in tests 2015-08-23 09:07:13 +09:00