summaryrefslogtreecommitdiffstats
path: root/nova/config.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-12-11 08:09:41 +0000
committerMark McLoughlin <markmc@redhat.com>2012-12-11 08:10:36 +0000
commitf005a70a6f3cdee0aa0fea9c64e0c5b8bd597ba9 (patch)
tree71320b97a2001a52ec501e59bd1773fa7da96451 /nova/config.py
parent79ac64dd3295544d0a3fd3ad061284509528ba63 (diff)
downloadnova-f005a70a6f3cdee0aa0fea9c64e0c5b8bd597ba9.tar.gz
nova-f005a70a6f3cdee0aa0fea9c64e0c5b8bd597ba9.tar.xz
nova-f005a70a6f3cdee0aa0fea9c64e0c5b8bd597ba9.zip
Move monkey patch config opts into nova.utils
The monkey_patch and monkey_patch_modules configuration options are only used in nova.utils, so move them there. blueprint: scope-config-opts Change-Id: Ibfc34be46306041951ab0142ab737686eacae9da
Diffstat (limited to 'nova/config.py')
-rw-r--r--nova/config.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/nova/config.py b/nova/config.py
index d7a948db4..1acce772f 100644
--- a/nova/config.py
+++ b/nova/config.py
@@ -216,15 +216,6 @@ global_opts = [
cfg.IntOpt('password_length',
default=12,
help='Length of generated instance admin passwords'),
- cfg.BoolOpt('monkey_patch',
- default=False,
- help='Whether to log monkey patching'),
- cfg.ListOpt('monkey_patch_modules',
- default=[
- 'nova.api.ec2.cloud:nova.notifier.api.notify_decorator',
- 'nova.compute.api:nova.notifier.api.notify_decorator'
- ],
- help='List of modules/decorators to monkey patch'),
cfg.IntOpt('service_down_time',
default=60,
help='maximum time since last check-in for up service'),