Use choices for hypervisor_inspector option
The hypervisor_inspector option allows the loading of various drivers. The choice of drivers is limited to those within the 'ceilometer.compute.virt' namespace as indicated in get_hypervisor_inspector(). Change-Id: I358b18ae190cdb578381f3af79956ace1ba97ec6
This commit is contained in:
parent
36af88fe92
commit
708fc84e09
@ -27,6 +27,7 @@ from ceilometer.i18n import _
|
||||
OPTS = [
|
||||
cfg.StrOpt('hypervisor_inspector',
|
||||
default='libvirt',
|
||||
choices=('hyperv', 'libvirt', 'vmware', 'xenapi'),
|
||||
help='Inspector to use for inspecting the hypervisor layer.'),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user