summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorCyril Roelandt <cyril@redhat.com>2020-07-10 02:55:11 +0200
committerCyril Roelandt <cyril@redhat.com>2020-07-10 02:55:11 +0200
commit24c281230e42a1592b563af0ae50518ecb8bb10e (patch)
treec5f2a63243445c8a917a23df6b100572020dda1e /etc
parent63d982588f4c4b290985ca5fe5b288c2cd3579df (diff)
downloadglance-24c281230e42a1592b563af0ae50518ecb8bb10e.tar.gz
Fix metadefs for compute-watchdog
Change-Id: Idf9be5afea5d034b9679ad451306a8f2d365aa51 Closes-Bug: #1887099
Diffstat (limited to 'etc')
-rw-r--r--etc/metadefs/compute-watchdog.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/metadefs/compute-watchdog.json b/etc/metadefs/compute-watchdog.json
index a8e9e43ab..5a6966341 100644
--- a/etc/metadefs/compute-watchdog.json
+++ b/etc/metadefs/compute-watchdog.json
@@ -6,18 +6,21 @@
"protected": true,
"resource_type_associations": [
{
- "name": "OS::Glance::Image"
+ "name": "OS::Glance::Image",
+ "prefix": "hw_"
},
{
"name": "OS::Cinder::Volume",
+ "prefix": "hw_",
"properties_target": "image"
},
{
- "name": "OS::Nova::Flavor"
+ "name": "OS::Nova::Flavor",
+ "prefix": "hw:"
}
],
"properties": {
- "hw_watchdog_action": {
+ "watchdog_action": {
"title": "Watchdog Action",
"description": "For the libvirt driver, you can enable and set the behavior of a virtual hardware watchdog device for each flavor. Watchdog devices keep an eye on the guest server, and carry out the configured action, if the server hangs. The watchdog uses the i6300esb device (emulating a PCI Intel 6300ESB). If hw_watchdog_action is not specified, the watchdog is disabled. Watchdog behavior set using a specific image's properties will override behavior set using flavors.",
"type": "string",