4eb68e7fb2
Add initial code of skyline-console Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
24 lines
521 B
YAML
24 lines
521 B
YAML
heat_template_version: 2018-08-31
|
|
|
|
parameters:
|
|
volume_name_spec:
|
|
type: json
|
|
description: Volume name spec
|
|
volume_size:
|
|
type: number
|
|
description: Volume size
|
|
volume_read_only:
|
|
type: boolean
|
|
description: Volume read only flag
|
|
|
|
resources:
|
|
test_volume:
|
|
type: OS::Cinder::Volume
|
|
properties:
|
|
name: {get_param: [volume_name_spec, name]}
|
|
size: {get_param: volume_size}
|
|
read_only: {get_param: volume_read_only}
|
|
|
|
outputs:
|
|
volume_id:
|
|
value: {get_resource: test_volume} |