← Back to team overview

openstack team mailing list archive

[RFC] Common config options module

 

Hey,

I've just posted this blueprint:

  https://blueprints.launchpad.net/openstack-common/+spec/common-config
  http://wiki.openstack.org/CommonConfigModule

The idea is to unify option handling across projects with this new API.
The module would eventually (soon?) live in openstack-common.

Code and unit tests here:

  https://github.com/markmc/nova/blob/common-config/nova/common/cfg.py
  https://github.com/markmc/nova/blob/common-config/nova/tests/test_cfg.py

And patches to make both Glance and Nova use it are on the
'common-config' branches of my github forks:

  https://github.com/markmc/nova/commits/common-config
  https://github.com/markmc/glance/commits/common-config

Glance and (especially) Nova still need a bunch of work to be fully
switched over to the new model, but both trees do actually appear to
work fine and could be merged now.

Lots of detail in there, but all comments are welcome :)

Thanks,
Mark.



Follow ups