1c242032fb
Implements: blueprint metadata-schema-catalog A common API hosted by the Glance service for vendors, admins, services, and users to meaningfully define available key / value pair and tag metadata. The intent is to enable better metadata collaboration across artifacts, services, and projects for OpenStack users. This is about the definition of the available metadata that can be used on different types of resources (images, artifacts, volumes, flavors, aggregates, etc). A definition includes the properties type, its key, it's description, and it's constraints. This catalogue will not store the values for specific instance properties. Change-Id: Ib1c1abf80879fb6dcd5ee30c7d2bc65b0ba720d5 DocImpact Co-Authored-By: Lakshmi N Sampath <lakshmi.sampath@hp.com> Co-Authored-By: Wayne Okuma <wayne.okuma@hp.com> Co-Authored-By: Travis Tripp <travis.tripp@hp.com> Co-Authored-By: Pawel Koniszewski <pawel.koniszewski@intel.com> Co-Authored-By: Michal Jastrzebski <michal.jastrzebski@intel.com> Co-Authored-By: Michal Dulko <michal.dulko@intel.com>
95 lines
4.7 KiB
JSON
95 lines
4.7 KiB
JSON
{
|
|
"namespace": "OS::Compute::Libvirt",
|
|
"display_name": "libvirt Driver Options",
|
|
"description": "The libvirt compute driver options. \n\nThese are properties specific to compute drivers. For a list of all hypervisors, see here: https://wiki.openstack.org/wiki/HypervisorSupportMatrix.",
|
|
"visibility": "public",
|
|
"protected": true,
|
|
"resource_type_associations": [
|
|
{
|
|
"name": "OS::Glance::Image"
|
|
}
|
|
],
|
|
"properties": {
|
|
"hw_disk_bus": {
|
|
"title": "Disk Bus",
|
|
"description": "Specifies the type of disk controller to attach disk devices to.",
|
|
"type": "string",
|
|
"enum": [
|
|
"scsi",
|
|
"virtio",
|
|
"uml",
|
|
"xen",
|
|
"ide",
|
|
"usb"
|
|
]
|
|
},
|
|
"hw_rng_model": {
|
|
"title": "Random Number Generator Device",
|
|
"description": "Adds a random-number generator device to the image's instances. The cloud administrator can enable and control device behavior by configuring the instance's flavor. By default: The generator device is disabled. /dev/random is used as the default entropy source. To specify a physical HW RNG device, use the following option in the nova.conf file: rng_dev_path=/dev/hwrng",
|
|
"type": "string",
|
|
"default": "virtio"
|
|
},
|
|
"hw_machine_type": {
|
|
"title": "Machine Type",
|
|
"description": "Enables booting an ARM system using the specified machine type. By default, if an ARM image is used and its type is not specified, Compute uses vexpress-a15 (for ARMv7) or virt (for AArch64) machine types. Valid types can be viewed by using the virsh capabilities command (machine types are displayed in the machine tag).",
|
|
"type": "string"
|
|
},
|
|
"hw_scsi_model": {
|
|
"title": "SCSI Model",
|
|
"description": "Enables the use of VirtIO SCSI (virtio-scsi) to provide block device access for compute instances; by default, instances use VirtIO Block (virtio-blk). VirtIO SCSI is a para-virtualized SCSI controller device that provides improved scalability and performance, and supports advanced SCSI hardware.",
|
|
"type": "string",
|
|
"default": "virtio-scsi"
|
|
},
|
|
"hw_video_model": {
|
|
"title": "Video Model",
|
|
"description": "The video image driver used.",
|
|
"type": "string",
|
|
"enum": [
|
|
"vga",
|
|
"cirrus",
|
|
"vmvga",
|
|
"xen",
|
|
"qxl"
|
|
]
|
|
},
|
|
"hw_video_ram": {
|
|
"title": "Max Video Ram",
|
|
"description": "Maximum RAM for the video image. Used only if a hw_video:ram_max_mb value has been set in the flavor's extra_specs and that value is higher than the value set in hw_video_ram.",
|
|
"type": "integer"
|
|
},
|
|
"os_command_line": {
|
|
"title": "Kernel Command Line",
|
|
"description": "The kernel command line to be used by the libvirt driver, instead of the default. For linux containers (LXC), the value is used as arguments for initialization. This key is valid only for Amazon kernel, ramdisk, or machine images (aki, ari, or ami).",
|
|
"type": "string"
|
|
},
|
|
"hw_vif_model": {
|
|
"title": "Virtual Network Interface",
|
|
"description": "Specifies the model of virtual network interface device to use. The valid options depend on the configured hypervisor. KVM and QEMU: e1000, ne2k_pci, pcnet, rtl8139, and virtio. VMware: e1000, e1000e, VirtualE1000, VirtualE1000e, VirtualPCNet32, VirtualSriovEthernetCard, and VirtualVmxnet. Xen: e1000, netfront, ne2k_pci, pcnet, and rtl8139.",
|
|
"type": "string",
|
|
"enum": [
|
|
"e1000",
|
|
"ne2k_pci",
|
|
"pcnet",
|
|
"rtl8139",
|
|
"virtio",
|
|
"e1000",
|
|
"e1000e",
|
|
"VirtualE1000",
|
|
"VirtualE1000e",
|
|
"VirtualPCNet32",
|
|
"VirtualSriovEthernetCard",
|
|
"VirtualVmxnet",
|
|
"netfront",
|
|
"ne2k_pci"
|
|
]
|
|
},
|
|
"hw_qemu_guest_agent": {
|
|
"title": "QEMU Guest Agent",
|
|
"description": "It is a daemon program running inside the domain which is supposed to help management applications with executing functions which need assistance of the guest OS. For example, freezing and thawing filesystems, entering suspend. However, guest agent (GA) is not bullet proof, and hostile guest OS can send spurious replies.",
|
|
"type": "string",
|
|
"enum": ["yes", "no"]
|
|
}
|
|
},
|
|
"objects": []
|
|
}
|