[SDC] update configuration template in chef os
[sdc.git] / catalog-fe / src / test / resources / CI / originalResources / normative-types-blockStorage.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03
2
3 template_name: tosca-normative-types-blockStorage
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   tosca.nodes.BlockStorage:
13     derived_from: tosca.nodes.Root
14     description: >
15       The TOSCA BlockStorage node currently represents a server-local block storage device (i.e., not shared)
16       offering evenly sized blocks of data from which raw storage volumes can be created.
17     tags:
18       icon: /images/volume.png
19     properties:
20       size:
21         type: integer
22         required: false
23         constraints:
24           - greater_than: 0
25         description: The requested storage size in MegaBytes (MB).
26       volume_id:
27         type: string
28         required: false
29         description: ID of an existing volume (that is in the accessible scope of the requesting application).
30       snapshot_id:
31         type: string
32         required: false
33         description: Some identifier that represents an existing snapshot that should be used when creating the block storage (volume).
34     attributes:
35       volume_id:
36         type: string
37         description: ID provided by the orchestrator for newly created volumes.
38     requirements:
39       attachment:
40         type: tosca.capabilities.Attachment