1 tosca_definitions_version: tosca_simple_yaml_1_0
4 TOSCA simple profile with 2 servers each with different attached block storage.
10 description: Number of CPUs for the server.
12 - valid_values: [ 1, 2, 4, 8 ]
14 type: scalar-unit.size
16 description: Size of the storage to be created.
20 Optional identifier for an existing snapshot to use when creating storage.
24 Block storage mount point (filesystem path).
28 type: tosca.nodes.Compute
33 num_cpus: { get_input: cpus }
47 location: { get_input: storage_location }
49 type: tosca.nodes.BlockStorage
51 size: { get_input: storage_size }
52 snapshot_id: { get_input: storage_snapshot_id }
55 type: tosca.nodes.Compute
60 num_cpus: { get_input: cpus }
74 location: { get_input: storage_location }
76 type: tosca.nodes.BlockStorage
78 size: { get_input: storage_size }
79 snapshot_id: { get_input: storage_snapshot_id }
83 description: The private IP address of the application's first server.
84 value: { get_attribute: [my_server, private_address] }
86 description: The private IP address of the application's second server.
87 value: { get_attribute: [my_server2, private_address] }
89 description: The volume id of the first block storage instance.
90 value: { get_attribute: [my_storage, volume_id] }
92 description: The volume id of the second block storage instance.
93 value: { get_attribute: [my_storage2, volume_id] }