blazar/blazar/tests
Hiroaki Kobayashi 6d2950f3b0 Add periodic healing
This patch adds a periodic healing mechanism into the monitor module and
monitoring plugins. With this change, the heal_reservations() method of
resource plugin was changed to receive a period (start/end_date
arguments) to heal.

This change is for not healing (reallocating) all of reservations for
failed resources immediately because failed resources are expected to
recover sometime in the future. The monitor tries to heal only
reservations which are active or will start soon. Remaining reservations
are expected to be healed by the periodic healing.

Implements: blueprint healing-time
Change-Id: I6971c952fcde101ff2408f567fee9a7dab97b140
2018-04-24 13:18:16 +09:00
..
api Fix object difference issues with Python2/3 compatibility 2018-02-02 00:18:06 +00:00
db Add periodic healing 2018-04-24 13:18:16 +09:00
hacking Add log hacking rules 2017-10-09 07:18:19 +00:00
manager Retry event actions 2018-02-02 10:33:31 +09:00
monitor Add periodic healing 2018-04-24 13:18:16 +09:00
notification Replace messaging.get_transport with get_rpc_transport 2017-06-07 14:21:09 +09:00
plugins Add periodic healing 2018-04-24 13:18:16 +09:00
utils Add periodic healing 2018-04-24 13:18:16 +09:00
__init__.py Using fixtures instead of deprecated mockpatch module 2017-06-02 08:33:37 +00:00
fake_lease.py Support running actions before the end of a lease 2017-07-31 14:42:56 +00:00
fake_policy.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_context.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_exceptions.py Fix exception message issues with Python3 2018-01-22 14:00:10 +09:00
test_policy.py Use assertTrue/False(A) instead of assertEqual(True/False, A) 2017-06-29 15:53:29 +07:00
test_service.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_status.py Add a status module 2018-01-09 14:14:11 +09:00