tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03 template_name: tosca-normative-types-compute template_author: TOSCA TC template_version: 1.0.0.wd03-SNAPSHOT description: Contains the normative types definition. imports: - "tosca-normative-types-root:1.0.0.wd03-SNAPSHOT" node_types: # Infrastructure components tosca.nodes.Compute: derived_from: tosca.nodes.Root description: > Represents a real or virtual machine or ‘server’. Informations specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing informations are specified the cloud’s provider default machine will be used. It is strongly recommended to specify the required cpus and memory at least. tags: icon: /images/compute.png properties: num_cpus: type: integer required: false constraints: - greater_than: 0 description: Number of (actual or virtual) CPUs associated with the Compute node. mem_size: type: integer required: false constraints: - greater_than: 0 description: Size of memory, in Megabytes (MB), available to applications running on the Compute node. disk_size: type: integer required: false constraints: - greater_than: 0 description: Size of the local disk, in Gigabytes (GB), available to applications running on the Compute node. os_arch: type: string constraints: - valid_values: ["x86_32", "x86_64"] description: The host Operating System (OS) architecture. os_type: type: string constraints: - valid_values: ["linux", "aix", "mac os", "windows"] description: The host Operating System (OS) type. os_distribution: type: string required: false description: The host Operating System (OS) distribution. os_version: type: string required: false description: The host Operating System version. attributes: ip_address: type: string description: > The primary IP address assigned by the cloud provider that applications may use to access the Compute node. 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. requirements: network: type: tosca.capabilities.Connectivity lower_bound: 0 upper_bound: unbounded capabilities: host: type: tosca.capabilities.Container properties: valid_node_types: [tosca.nodes.SoftwareComponent] attach: tosca.capabilities.Attachment scalable: tosca.capabilities.Scalable