Files
nova/nova/opts.py
Chuck Carmack dc2e3130fe config options: centralize 'spice' options
This change moves the spice configuration options previously
defined in the nova/spice and nova/cmd folders to the nova/conf
folder.

Implements: blueprint centralize-config-options-newton
Change-Id: I2a8130b51ce3975c6cfd3c6181ea7e7d53fbc49f
Co-Authored-By: Allen Gao <wanlong.gao@gmail.com>
2016-04-11 10:34:05 +00:00

55 lines
1.7 KiB
Python

# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import itertools
import nova.baserpc
import nova.cloudpipe.pipelib
import nova.cmd.serialproxy
import nova.cmd.spicehtml5proxy
import nova.conductor.rpcapi
import nova.conductor.tasks.live_migrate
import nova.conf
import nova.console.rpcapi
import nova.console.serial
import nova.consoleauth.rpcapi
import nova.db.api
import nova.db.base
import nova.db.sqlalchemy.api
import nova.exception
import nova.image.download.file
import nova.netconf
import nova.paths
import nova.servicegroup.api
import nova.volume
import nova.volume.cinder
def list_opts():
return [
('DEFAULT',
itertools.chain(
[nova.conductor.tasks.live_migrate.migrate_opt],
[nova.db.base.db_driver_opt],
[nova.servicegroup.api.servicegroup_driver_opt],
nova.db.api.db_opts,
nova.db.sqlalchemy.api.db_opts,
nova.exception.exc_log_opts,
nova.netconf.netconf_opts,
nova.paths.path_opts,
nova.volume._volume_opts,
)),
('cinder', nova.volume.cinder.cinder_opts),
('api_database', nova.db.sqlalchemy.api.api_db_opts),
('database', nova.db.sqlalchemy.api.oslo_db_options.database_opts),
]