Cleaned up config generator settings

1. Sahara opts are listed once
2. Oslo incubator opts are listed separately
3. Groups are referenced by variables

Still things to improve:
1. opt-group mapping is listed twice now (in reg and in list)
2. registering spread across the project (should be in one place)
3. dependancies are not managed (it should be one place with CONF)

Change-Id: I4b8edf26187b3c23d08f9efbee42086652efea5a
Closes-Bug: #1407834
This commit is contained in:
Andrew Lazarev 2015-01-06 12:14:44 -08:00
parent ed77b8eb33
commit 0c5ed6a947
1 changed files with 4 additions and 2 deletions

View File

@ -56,8 +56,10 @@ sahara.run.mode =
distributed = sahara.service.ops:RemoteOps
oslo.config.opts =
sahara = sahara.config:list_opts
sahara_main = sahara.config:main_opts
sahara.config = sahara.config:list_opts
log.config = sahara.openstack.common.log:list_opts
periodic.config = sahara.openstack.common.periodic_task:list_opts
policy.config = sahara.openstack.common.policy:list_opts
[build_sphinx]
all_files = 1