1 heat_template_version: 2013-05-23
 
   4   TOSCA simple profile with server and attached block storage using a named
 
   5   Relationship Template for the storage attachment.
 
  10     description: Number of CPUs for the server.
 
  20     description: Block storage mount point (filesystem path).
 
  24     description: Size of the storage to be created.
 
  29     type: OS::Nova::Server
 
  32       image: fedora-amd64-heat-config
 
  33       user_data_format: SOFTWARE_CONFIG
 
  34       software_config_transport: POLL_SERVER_HEAT
 
  39     type: OS::Cinder::Volume
 
  42         get_param: storage_size
 
  45     type: OS::Cinder::VolumeAttachment
 
  48         get_resource: my_server
 
  50         get_input: storage_location
 
  52         get_resource: my_storage
 
  56     description: The private IP address of the newly created compute instance.
 
  64     description: The volume id of the block storage instance.
 
  66       get_resource: my_storage