summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.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 /asdc-tests/src/test/resources/CI/components/normativeTypes/blockStorage/normative-types-blockStorage.yml
parent5abfe4e1fb5fae4bbd5fbc340519f52075aff3ff (diff)
Initial OpenECOMP SDC commit
Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando <ml636r@att.com>
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