magnum/magnum
Eli Qiao fbe5b8065f Add periodic task framework
This patch adds periodic timer to conductor service.
Any new periodic tasks need to be added to magnum/service/periodic.py
We add 2 default configure options to support periodic task:
    'periodic_enable', default=True
    'periodic_interval_max', default=60
These 2 options are for rpc_service.
PS:
We don't need to supervisor timers because timer itself won't have any
exception, and it is not a thread, which means can not be killed.

Partial-Implements: blueprint add-periodic-task
Co-Authored-By: ShaoHe Feng <shaohe.feng@intel.com>
Change-Id: I132d9cc89b26baf249b62b713ccd3776f0078d7d
2015-07-02 17:01:21 +08:00
..
api Merge "policy check for node" 2015-07-01 01:09:02 +00:00
cmd port to oslo.service 2015-06-28 14:29:00 +08:00
common Add periodic task framework 2015-07-02 17:01:21 +08:00
conductor port to oslo.service 2015-06-28 14:29:00 +08:00
db Merge "Add 'host' field to Pod object." 2015-06-27 23:58:05 +00:00
hacking Correct Hacking rule code 2015-06-17 14:14:25 +08:00
locale Manually import all pot files 2015-05-28 09:19:55 +02:00
objects Merge "Add 'host' field to Pod object." 2015-06-27 23:58:05 +00:00
openstack port to oslo.service 2015-06-28 14:29:00 +08:00
public/css Incorporate feedback from the Initial commit review 2014-11-18 14:25:08 +00:00
service Add periodic task framework 2015-07-02 17:01:21 +08:00
templates Merge "Backport "configure docker storage correctly"" 2015-07-01 01:13:40 +00:00
tests Merge "policy check for node" 2015-07-01 01:09:02 +00:00
MANIFEST.in Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
config.py Fix continuation line under/over indented problems 2015-05-30 00:16:37 +08:00
i18n.py Setup for translation 2015-05-24 03:13:55 +00:00
opts.py Add periodic task framework 2015-07-02 17:01:21 +08:00
version.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00