blob: 9b0655bf3677f221804df9ebdf4c09b2fec86afa (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: CinderVolumeGlobalTypes
template_version: 1.0.0
description: Cinder Volume TOSCA Global Types
relationship_types:
org.openecomp.relationships.VolumeAttachesTo:
derived_from: tosca.relationships.AttachesTo
description: This type represents an attachment relationship for associating volume
properties:
volume_id:
type: string
description: The ID of the volume to be attached
required: true
status: SUPPORTED
location:
type: string
description: The location where the volume is exposed on the instance, mountpoint
required: false
status: SUPPORTED
instance_uuid:
type: string
description: The ID of the server to which the volume attaches
required: true
status: SUPPORTED
attributes:
show:
type: string
description: Detailed information about resource
status: SUPPORTED
node_types:
org.openecomp.resource.vfc.nodes.heat.cinder.Volume:
derived_from: tosca.nodes.BlockStorage
properties:
availability_zone:
type: string
description: The availability zone in which the volume will be created
required: false
status: SUPPORTED
image:
type: string
description: If specified, the name or ID of the image to create the volume from
required: false
status: SUPPORTED
metadata:
type: map
description: Key/value pairs to associate with the volume
required: false
status: SUPPORTED
entry_schema:
type: string
volume_type:
type: string
description: If specified, the type of volume to use, mapping to a specific backend
required: false
status: SUPPORTED
description:
type: string
description: A description of the volume
required: false
status: SUPPORTED
device_type:
type: string
description: Device type
required: false
status: SUPPORTED
constraints:
- valid_values:
- cdrom
- disk
disk_bus:
type: string
description: 'Bus of the device: hypervisor driver chooses a suitable default
if omitted'
required: false
status: SUPPORTED
constraints:
- valid_values:
- ide
- lame_bus
- scsi
- usb
- virtio
backup_id:
type: string
description: If specified, the backup to create the volume from
required: false
status: SUPPORTED
source_volid:
type: string
description: If specified, the volume to use as source
required: false
status: SUPPORTED
boot_index:
type: integer
description: Integer used for ordering the boot disks
required: false
status: SUPPORTED
size:
type: scalar-unit.size
description: The requested storage size (default unit is MB)
required: false
status: SUPPORTED
constraints:
- greater_or_equal: 1 GB
read_only:
type: boolean
description: Enables or disables read-only access mode of volume
required: false
status: SUPPORTED
name:
type: string
description: A name used to distinguish the volume
required: false
status: SUPPORTED
scheduler_hints:
type: map
description: Arbitrary key-value pairs specified by the client to help the Cinder scheduler creating a volume
required: false
status: SUPPORTED
entry_schema:
type: string
swap_size:
type: scalar-unit.size
description: The size of the swap, in MB
required: false
status: SUPPORTED
delete_on_termination:
type: boolean
description: Indicate whether the volume should be deleted when the server is terminated
required: false
status: SUPPORTED
multiattach:
type: boolean
description: Whether allow the volume to be attached more than once
required: false
status: SUPPORTED
attributes:
display_description:
type: string
description: Description of the volume
status: SUPPORTED
attachments:
type: string
description: The list of attachments of the volume
status: SUPPORTED
entry_schema:
type: string
encrypted:
type: boolean
description: Boolean indicating if the volume is encrypted or not
status: SUPPORTED
show:
type: string
description: Detailed information about resource
status: SUPPORTED
created_at:
type: timestamp
description: The timestamp indicating volume creation
status: SUPPORTED
display_name:
type: string
description: Name of the volume
status: SUPPORTED
metadata_values:
type: map
description: Key/value pairs associated with the volume in raw dict form
status: SUPPORTED
bootable:
type: boolean
description: Boolean indicating if the volume can be booted or not
status: SUPPORTED
status:
type: string
description: The current status of the volume
status: SUPPORTED
|