1 tosca_definitions_version: tosca_simple_yaml_1_0
4 TOSCA simple profile with server and attached block storage using the normative AttachesTo
8 template_name: block-storage-1
9 template_author: TOSCA Simple Profile in YAML
10 template_version: '1.0'
17 description: Number of CPUs for the server.
19 - valid_values: [ 1, 2, 4, 8 ]
21 type: scalar-unit.size
22 description: Size of the storage to be created.
27 Optional identifier for an existing snapshot to use when creating storage.
30 description: Block storage mount point (filesystem path).
40 num_cpus: { get_input: cpus }
54 location: { get_input: storage_location }
59 size: { get_input: storage_size }
60 snapshot_id: { get_input: storage_snapshot_id }
64 description: The private IP address of the newly created compute instance.
65 value: { get_attribute: [ my_server, private_address ] }
67 description: The volume id of the block storage instance.
68 value: { get_property: [ my_storage, volume_id ] } # ARIA NOTE: wrong in spec