glance/etc/metadefs/compute-guest-shutdown.json
Travis Tripp 5fcb3aa2e3 Add missing metadefs for shutdown behavior
The following Nova patch adds support for graceful shutdown
of a guest VM and allows setting timeout properties on images.
The properties should be updated in the Metadata Definitions catalog.

https://review.openstack.org/#/c/68942/

Change-Id: I58145d9d0114b3932b63263ea123c4662146d14b
Closes-bug: 1368036
2014-10-06 18:25:55 -06:00

22 lines
944 B
JSON

{
"namespace": "OS::Compute::GuestShutdownBehavior",
"display_name": "Shutdown Behavior",
"description": "These properties allow modifying the shutdown behavior for stop, rescue, resize, and shelve operations.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"os_shutdown_timeout": {
"title": "Shutdown timeout",
"description": "By default, guests will be given 60 seconds to perform a graceful shutdown. After that, the VM is powered off. This property allows overriding the amount of time (unit: seconds) to allow a guest OS to cleanly shut down before power off. A value of 0 (zero) means the guest will be powered off immediately with no opportunity for guest OS clean-up.",
"type": "integer",
"minimum": 0
}
},
"objects": []
}