Merge "Use choices for hypervisor_inspector option"

This commit is contained in:
Jenkins 2015-07-19 13:22:33 +00:00 committed by Gerrit Code Review
commit ef7623e2ac

View File

@ -27,6 +27,7 @@ from ceilometer.i18n import _
OPTS = [ OPTS = [
cfg.StrOpt('hypervisor_inspector', cfg.StrOpt('hypervisor_inspector',
default='libvirt', default='libvirt',
choices=('hyperv', 'libvirt', 'vmware', 'xenapi'),
help='Inspector to use for inspecting the hypervisor layer.'), help='Inspector to use for inspecting the hypervisor layer.'),
] ]