create list of options of OpenStack from source code
[DEFAULT]
(snip...)
compute_driver = None
# class: <class 'oslo_config.cfg.StrOpt'>
# deprecated: False
# multi: False
# required: False
# help:
# Defines which driver to use for controlling virtualization.
#
# Possible values:
#
# * ``libvirt.LibvirtDriver``
# * ``xenapi.XenAPIDriver``
# * ``fake.FakeDriver``
# * ``ironic.IronicDriver``
# * ``vmwareapi.VMwareVCDriver``
# * ``hyperv.HyperVDriver``
(snip...)
python 3.4-
python 2.7 may work but not tested
use virtualenv
# git clone
# cd path/to/oscfg-tool/
# virtualenv .
# bin/activate
# python scripts/setup_env.py
# ls tmp/json-*.sh | xargs -n 1 bash -x
# ls tmp/text-*.sh | xargs -n 1 bash -x
- load openstack source(e.g. nova/conf/api.py)
- call register_opts() or list_opts(), or read global variable cfg.CONF or *_OPTS
- dump them all
So list may not be perfect.