summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-10-08 10:38:10 +0000
committerGerrit Code Review <review@openstack.org>2014-10-08 10:38:10 +0000
commit3345d5b164addfc65501954573ab01bac0ec74d9 (patch)
tree4c092801bd53b5d04cedb5a3e36afea4c1b097f5
parenteec47084783e931248690a22c143af6f9030b293 (diff)
parentcecc9497c158fbf43c26aa8943a41b4e6fcc5fed (diff)
downloadglance-3345d5b164addfc65501954573ab01bac0ec74d9.tar.gz
Merge "Add missing metadefs for shutdown behavior" into proposed/juno
-rw-r--r--etc/metadefs/compute-guest-shutdown.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/metadefs/compute-guest-shutdown.json b/etc/metadefs/compute-guest-shutdown.json
new file mode 100644
index 000000000..354ee6383
--- /dev/null
+++ b/etc/metadefs/compute-guest-shutdown.json
@@ -0,0 +1,21 @@
+{
+ "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": []
+}