* generate a consistant config file sample:
etc/climate/climate.conf.sample
* Add a new check in tox env 'pep8' to check out-dated config file sample.
Move specifics options for admin credential in group config 'physical:host'
Factorize by declaring config options in each plugins with available values and
centralizing RESOURCE_TYPE value in plugin's module (one dir per plugin)
Use socket.gethostname() in place of socket.getfqdn() to have
predictable default value for 'host' config in climate.config,
since it's ugly forced in openstack.common.config.generator#L232
Reviewed: https:/ /review. openstack. org/71243 /git.openstack. org/cgit/ stackforge/ climate/ commit/ ?id=e9d03ee1ea5 7b3bdf7e50b7b2f 55fd36ca6f19d9
Committed: https:/
Submitter: Jenkins
Branch: master
commit e9d03ee1ea57b3b df7e50b7b2f55fd 36ca6f19d9
Author: Swann Croiset <email address hidden>
Date: Thu Jan 23 11:28:02 2014 +0100
Reworking configuration options
Use config tools from Oslo-incubator :
* generate a consistant config file sample: climate/ climate. conf.sample
etc/
* Add a new check in tox env 'pep8' to check out-dated config file sample.
Move specifics options for admin credential in group config 'physical:host'
Factorize by declaring config options in each plugins with available values and
centralizing RESOURCE_TYPE value in plugin's module (one dir per plugin)
Use socket. gethostname( ) in place of socket.getfqdn() to have common. config. generator# L232
predictable default value for 'host' config in climate.config,
since it's ugly forced in openstack.
Fixes: bug #1271875
Change-Id: Ie54fc98b58b494 00360c4fd2ce7d8 bb3b75915e2