82049af90e
The next obvious step in porting to cfg is to define all options using cfg schemas directly rather than using the flags.DEFINE_* helpers. This is a large change, but it is almost entirely pure refactoring and does not result in any functional changes. The only change to note is that the default values for glance_host, glance_api_servers and default_publisher_id options are now using opt value interpolation i.e. -glance_host=_get_my_ip() +glance_host='$my_ip' -glance_api_servers=['%s:%d' % (FLAGS.glance_host, FLAGS.glance_port)] +glance_api_servers=['$glance_host:$glance_port'] -default_publisher_id=FLAGS.host +default_publisher_id='$host' Also note that the lower_bound check on the {report,periodic}_interval options are no more, but this has been true since cfg was first added. Change-Id: Ia58c8f0aaf61628bb55b1b8485118a2a9852ed17 |
||
---|---|---|
.. | ||
clear_rabbit_queues | ||
instance-usage-audit | ||
nova-ajax-console-proxy | ||
nova-all | ||
nova-api | ||
nova-api-ec2 | ||
nova-api-metadata | ||
nova-api-os-compute | ||
nova-api-os-volume | ||
nova-cert | ||
nova-compute | ||
nova-console | ||
nova-consoleauth | ||
nova-dhcpbridge | ||
nova-direct-api | ||
nova-logspool | ||
nova-manage | ||
nova-network | ||
nova-objectstore | ||
nova-rootwrap | ||
nova-scheduler | ||
nova-spoolsentry | ||
nova-volume | ||
nova-vsa | ||
nova-xvpvncproxy | ||
stack |