1 tosca_definitions_version: tosca_simple_yaml_1_0
4 TOSCA Simple Profile with a SoftwareComponent node with a declared Virtual machine (VM) deployment
5 artifact that automatically deploys to its host Compute node.
8 template_name: software-component-1
9 template_author: TOSCA Simple Profile in YAML
10 template_version: '1.0'
13 - ../non-normative-types.yaml
17 # ARIA NOTE: missing in spec
21 description: Number of CPUs for the server.
23 - valid_values: [ 1, 2, 4, 8 ]
28 type: SoftwareComponent
31 file: images/fedora-18-x86_64.qcow2
32 type: tosca.artifacts.Deployment.Image.VM.QCOW2
35 # Automatically deploy the VM image referenced on the create operation
40 # Compute instance with no Operating System guest host
44 # Note: no guest OperatingSystem requirements as these are in the image.
48 num_cpus: { get_input: cpus }
53 description: The private IP address of the deployed server instance.
54 value: { get_attribute: [ my_server, private_address ] }