Use oslo-config-generator instead of generate_sample.sh

Registered by Tan Lin

Currently ironic use generate_sample.sh to create opts. It will call ironic.common.config_generator.generator which is copied from oslo_incubation long time ago.
Oslo.conf provide a module named oslo-config-generator to do this job. It is better to make use of it like other projects.
http://docs.openstack.org/developer/oslo.config/generator.html
https://blueprints.launchpad.net/nova/+spec/oslo-config-generator

Here is one example about how the config looks like:
https://github.com/openstack/cinder/blob/master/cinder/config/cinder-config-generator.conf

And it is also suggested to centralize opts into one or a few places to maintain oslo-config-generator.conf better .
https://github.com/openstack/keystone/blob/master/keystone/common/config.py
https://github.com/openstack/nova/blob/master/nova/virt/opts.py

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Tan Lin
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.