Added powervm as hypervisor type for image metadata prefiltering.

"powervm" as hypervisor type is required for image metadata
prefiltering in glance.

Closes-Bug: #1826136

Change-Id: I7afd43c2e0581d30a78d5ed4e30f8eb2af1cf444
This commit is contained in:
Ankit Arora 2019-04-23 03:05:45 -05:00
parent 305efc5cb2
commit ceba6db664
2 changed files with 14 additions and 1 deletions

View File

@ -12,13 +12,14 @@
"properties": {
"hypervisor_type": {
"title": "Hypervisor Type",
"description": "Hypervisor type required by the image. Used with the ImagePropertiesFilter. \n\n KVM - Kernel-based Virtual Machine. LXC - Linux Containers (through libvirt). QEMU - Quick EMUlator. UML - User Mode Linux. hyperv - Microsoft® hyperv. vmware - VMware® vsphere. Baremetal - physical provisioning. VZ - Virtuozzo OS Containers and Virtual Machines (through libvirt). For more information, see: http://docs.openstack.org/trunk/config-reference/content/section_compute-hypervisors.html",
"description": "Hypervisor type required by the image. Used with the ImagePropertiesFilter. \n\n Baremetal - physical provisioning. hyperv - Microsoft® hyperv. KVM - Kernel-based Virtual Machine. LXC - Linux Containers (through libvirt). powervm - IBM® PowerVM®. QEMU - Quick EMUlator. UML - User Mode Linux. vmware - VMware® vsphere. VZ - Virtuozzo OS Containers and Virtual Machines (through libvirt). For more information, see: https://docs.openstack.org/nova/latest/admin/configuration/hypervisors.html",
"type": "string",
"enum": [
"baremetal",
"hyperv",
"kvm",
"lxc",
"powervm",
"qemu",
"uml",
"vmware",

View File

@ -0,0 +1,12 @@
---
upgrade:
- |
The following metadata definitions have been modified in the Train
release:
* Added ``powervm`` to the ``hypervisor_type`` enumeration in the
``OS:::Compute::Hypervisor`` namespace.
You may upgrade these definitions using:
``glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]``