summaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-02-19 10:28:42 +0200
committerMichael Lando <ml636r@att.com>2017-02-19 10:51:01 +0200
commit451a3400b76511393c62a444f588a4ed15f4a549 (patch)
treee4f5873a863d1d3e55618eab48b83262f874719d /catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml')
-rw-r--r--catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml77
1 files changed, 77 insertions, 0 deletions
diff --git a/catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml b/catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml
new file mode 100644
index 0000000000..3a972a81e0
--- /dev/null
+++ b/catalog-fe/src/test/resources/CI/originalResources/normative-types-compute.yml
@@ -0,0 +1,77 @@
+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