Hi there,

I've been working on the changes that would need to be done to make the
default config generator work for Neutron.

However, the current default config generator doesn't support the
possibility to generate different configuration files (e.g. one per
service/plugin). I can imagine two options:

a. move every options in oslo.config.cfg.CONF, moving the plugins into
   their own section rather than in their own file, register all options
   at module-level, avoiding duplicate options.

b. enhance config.generator to generate a config file from a particular
   object (not always olso.config.cfg.CONF like it's done currently).
   That means Neutron should evolve to provide a global CONF object per
   plugin at least.

Option a. is how all other OpenStack projects¹ are working so far.
Option b. requires a bit more work on both side.

Is there any particular way you guys see things?


¹  nova, ceilometer and heat at least for now

-- 
Julien Danjou
/* Free Software hacker * freelance consultant
   http://julien.danjou.info */

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to