
Since Rocky, Heat supports Blazar which is a reservation service in OpenStack. This patch provides sample templates regarding Blazar Host and Lease resources accordingly. Change-Id: I169a96c63eee59ec9b0d098f86709e6d02d1209f Depends-On: I1392919540a6bdd67ce7078e3a1206ecdb9854e1
21 lines
405 B
YAML
21 lines
405 B
YAML
heat_template_version: 2018-08-31
|
|
|
|
description: Sample Blazar host template
|
|
|
|
parameters:
|
|
name:
|
|
type: string
|
|
description: The name of the host
|
|
default: sample_blazar_host
|
|
|
|
resources:
|
|
sample_host:
|
|
type: OS::Blazar::Host
|
|
properties:
|
|
name: {get_param: name}
|
|
|
|
outputs:
|
|
cpu_info:
|
|
value: {get_attr: [sample_host, cpu_info]}
|
|
description: Information of the CPU of the host
|