1 heat_template_version: 2013-05-23
 
   4   TOSCA simple profile with 2 servers each with different attached block storage.
 
   9     description: Number of CPUs for the server.
 
  19     description: Block storage mount point (filesystem path).
 
  23     description: Size of the storage to be created.
 
  27     description: Optional identifier for an existing snapshot to use when creating storage.
 
  32     type: OS::Nova::Server
 
  35       image: fedora-amd64-heat-config
 
  36       user_data_format: SOFTWARE_CONFIG
 
  37       software_config_transport: POLL_SERVER_HEAT
 
  42     type: OS::Cinder::Volume
 
  45         get_param: storage_size
 
  47         get_param: storage_snapshot_id
 
  50     type: OS::Cinder::VolumeAttachment
 
  53         get_resource: my_server
 
  55         get_param: storage_location
 
  57         get_resource: my_storage
 
  60     type: OS::Nova::Server
 
  63       image: fedora-amd64-heat-config
 
  64       user_data_format: SOFTWARE_CONFIG
 
  65       software_config_transport: POLL_SERVER_HEAT
 
  70     type: OS::Cinder::Volume
 
  73         get_param: storage_size
 
  75         get_param: storage_snapshot_id
 
  78     type: OS::Cinder::VolumeAttachment
 
  81         get_resource: my_server2
 
  83         get_param: storage_location
 
  85         get_resource: my_storage2
 
  89     description: The private IP address of the applications first server.
 
  95     description: The private IP address of the applications second server.
 
 101     description: The volume id of the first block storage instance.
 
 103       get_resource: my_storage
 
 105     description: The volume id of the second block storage instance.
 
 107       get_resource: my_storage2