aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml')
-rw-r--r--asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml b/asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml
new file mode 100644
index 0000000000..df942b9f4f
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml
@@ -0,0 +1,40 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
+
+template_name: tosca-normative-types-blockStorage
+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:
+ tosca.nodes.BlockStorage:
+ derived_from: tosca.nodes.Root
+ description: >
+ The TOSCA BlockStorage node currently represents a server-local block storage device (i.e., not shared)
+ offering evenly sized blocks of data from which raw storage volumes can be created.
+ tags:
+ icon: /images/volume.png
+ properties:
+ size:
+ type: integer
+ required: false
+ constraints:
+ - greater_than: 0
+ description: The requested storage size in MegaBytes (MB).
+ volume_id:
+ type: string
+ required: false
+ description: ID of an existing volume (that is in the accessible scope of the requesting application).
+ snapshot_id:
+ type: string
+ required: false
+ description: Some identifier that represents an existing snapshot that should be used when creating the block storage (volume).
+ attributes:
+ volume_id:
+ type: string
+ description: ID provided by the orchestrator for newly created volumes.
+ requirements:
+ attachment:
+ type: tosca.capabilities.Attachment