[SDC] update configuration template in chef os
[sdc.git] / catalog-fe / src / test / resources / CI / originalResources / normative-types-compute.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
2
3 template_name: tosca-normative-types-compute
4 template_author: TOSCA TC
5 template_version: 1.0.0.wd03-SNAPSHOT
6
7 description: Contains the normative types definition.
8 imports:
9   - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT"
10
11 node_types:
12   # Infrastructure components
13   tosca.nodes.Compute:
14     derived_from: tosca.nodes.Root
15     description: >
16       Represents a real or virtual machine or ‘server’. Informations specified on the Compute
17       node will be used to find the machine that fits the given requirements in the cloud
18       available machines. If no sizing informations are specified the cloud’s provider default
19       machine will be used. It is strongly recommended to specify the required cpus and memory
20       at least.
21     tags:
22       icon: /images/compute.png
23     properties:
24       num_cpus:
25         type: integer
26         required: false
27         constraints:
28           -  greater_than: 0
29         description: Number of (actual or virtual) CPUs associated with the Compute node.
30       mem_size:
31         type: integer
32         required: false
33         constraints:
34           - greater_than: 0
35         description: Size of memory, in Megabytes (MB), available to applications running on the Compute node.
36       disk_size:
37         type: integer
38         required: false
39         constraints:
40           - greater_than: 0
41         description: Size of the local disk, in Gigabytes (GB), available to applications running on the Compute node.
42       os_arch:
43         type: string
44         constraints:
45           - valid_values: ["x86_32", "x86_64"]
46         description: The host Operating System (OS) architecture.
47       os_type:
48         type: string
49         constraints:
50           - valid_values: ["linux", "aix", "mac os", "windows"]
51         description: The host Operating System (OS) type.
52       os_distribution:
53         type: string
54         required: false
55         description: The host Operating System (OS) distribution.
56       os_version:
57         type: string
58         required: false
59         description: The host Operating System version.
60     attributes:
61       ip_address:
62         type: string
63         description: >
64           The primary IP address assigned by the cloud provider that applications may use to access the Compute node.
65           Note: This is used by the platform provider to convey the primary address used to access the compute node.  Future working drafts will address implementations that support floating or multiple IP addresses.
66     requirements:
67       network:
68         type: tosca.capabilities.Connectivity
69         lower_bound: 0
70         upper_bound: unbounded
71     capabilities:
72       host:
73         type: tosca.capabilities.Container
74         properties:
75           valid_node_types: [tosca.nodes.SoftwareComponent]
76       attach: tosca.capabilities.Attachment
77       scalable: tosca.capabilities.Scalable