Support python3 uploaded to pypi websit
[parser.git] / tosca2heat / heat-translator / translator / tests / data / hot_output / hot_single_server_with_defaults_with_input.yaml
1 heat_template_version: 2013-05-23
2
3 description: >
4   TOSCA simple profile that just defines a single compute instance and selects a
5   (guest) host Operating System from the Compute node's properties. Note, this
6   example includes default values on inputs properties.
7
8 parameters:
9   cpus:
10     type: number
11     description: Number of CPUs for the server.
12     default: 1
13     constraints:
14     - allowed_values:
15       - 1
16       - 2
17       - 4
18       - 8
19
20 resources:
21   my_server:
22     type: OS::Nova::Server
23     properties:
24       flavor: m1.small
25       image: ubuntu-12.04-software-config-os-init
26       user_data_format: SOFTWARE_CONFIG
27       software_config_transport: POLL_SERVER_HEAT
28
29 outputs:
30   private_ip:
31     description: The private IP address of the deployed server instance.
32     value:
33       get_attr:
34       - my_server
35       - first_address