oslo-config-generator - a utility for generating sample config files

Registered by Doug Hellmann

The config/generator.py module should move to oslo.config

In the process, we plan to significantly re-work how options are discovered in order to make the tool much more predictable and less error prone.

Blueprint information

Status:
Complete
Approver:
Doug Hellmann
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
Mark McLoughlin
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-2
Started by
Doug Hellmann
Completed by
Doug Hellmann

Related branches

Sprints

Whiteboard

Includes tools/config/* and openstack/common/config/generator.py

This may be of historical interest: https://etherpad.openstack.org/p/icehouse-oslo-config-import-side-effects

Gerrit topic: https://review.openstack.org/#q,topic:bp/oslo-config-generator,n,z

Addressed by: https://review.openstack.org/102548
    Add oslo-config-generator

---

merged changes:

https://review.openstack.org/#/c/100946/ - Add oslo-config-generator
https://review.openstack.org/#/c/104225/ - generator: refactor MultiStrOpt handling
https://review.openstack.org/#/c/104226/ - cfg,generator: add Opt.sample_default attribute
https://review.openstack.org/#/c/104227/ - generator: remove the default sanitizer feature
https://review.openstack.org/#/c/105671/ - generator: tweak how MultiStrOpt defaults are handled

---

I still may propose supporting APIs like these:

https://github.com/markmc/nova/blob/dd2aaac/nova/cfgutils.py
https://github.com/markmc/nova/blob/dd2aaac/nova/cfgtestutils.py

but undecided yet.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.