Ensures compute_driver flag can be used by bdm
Fixes bug 1063851 by moving compute_driver flag from compute/manager.py to the global flags.py Change-Id: I06891fd65550b63ffe83da18b6af41cf46938667
This commit is contained in:
committed by
Vishvananda Ishaya
parent
9d4ecc2c55
commit
9102f807e0
@@ -84,11 +84,6 @@ compute_opts = [
|
||||
help="Where cached images are stored under $instances_path."
|
||||
"This is NOT the full path - just a folder name."
|
||||
"For per-compute-host cached images, set to _base_$my_ip"),
|
||||
cfg.StrOpt('compute_driver',
|
||||
help='Driver to use for controlling virtualization. Options '
|
||||
'include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, '
|
||||
'fake.FakeDriver, baremetal.BareMetalDriver, '
|
||||
'vmwareapi.VMWareESXDriver'),
|
||||
cfg.StrOpt('console_host',
|
||||
default=socket.getfqdn(),
|
||||
help='Console proxy host to use to connect '
|
||||
|
||||
@@ -409,6 +409,11 @@ global_opts = [
|
||||
help='Whether to batch up the application of IPTables rules'
|
||||
' during a host restart and apply all at the end of the'
|
||||
' init phase'),
|
||||
cfg.StrOpt('compute_driver',
|
||||
help='Driver to use for controlling virtualization. Options '
|
||||
'include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, '
|
||||
'fake.FakeDriver, baremetal.BareMetalDriver, '
|
||||
'vmwareapi.VMWareESXDriver'),
|
||||
]
|
||||
|
||||
FLAGS.register_opts(global_opts)
|
||||
|
||||
Reference in New Issue
Block a user