aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/test/resources/CI/originalResources/normative-types-blockStorage.yml
blob: df942b9f4f694b52016ffa42adbb6cade9a9cf38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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