magnum/magnum/common
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
..
pythonk8sclient Unknown type 'any' in pythonk8sclient removed. 2015-06-22 13:46:53 +00:00
__init__.py Create a ReST API entrypoint 2014-11-18 14:01:20 -07:00
clients.py Fix ignored E121 to E125 pep 8 rules 2015-06-08 10:55:34 +00:00
config.py Remove imports from oslo namespaces 2015-02-08 02:59:30 +00:00
context.py Add make_admin_context to Magnum context 2015-06-24 16:18:09 +08:00
docker_utils.py Rename image_id to image in container object 2015-06-23 23:07:13 +08:00
exception.py Replace dict.iteritems() with dict.items() 2015-06-25 16:19:38 +01:00
k8s_manifest.py Merge "Improving Unit Test coverage of k8s_manifest" 2015-05-27 13:59:32 +00:00
magnum_keystoneclient.py Support use admin creds in KeystoneClientV3 2015-06-24 16:18:09 +08:00
paths.py Remove imports from oslo namespaces 2015-02-08 02:59:30 +00:00
policy.py enhancement for the common policy enforce 2015-06-15 21:41:40 +08:00
rpc.py Only define RequestContextSerializer once 2015-05-27 05:44:12 +01:00
rpc_service.py Add periodic task framework 2015-07-02 17:01:21 +08:00
safe_utils.py Add safe_utils to the source base 2014-11-21 11:41:02 -07:00
service.py Use oslo.log instead of oslo.incubator log module 2015-05-29 18:28:23 +08:00
short_id.py Setup for translation 2015-05-24 03:13:55 +00:00
urlfetch.py Use oslo.log instead of oslo.incubator log module 2015-05-29 18:28:23 +08:00
utils.py Merge "Fix continuation line under/over indented problems" 2015-05-31 21:10:25 +00:00
yamlutils.py Use yaml.safe_loader instead of yaml.loader 2015-04-12 13:09:10 -07:00