@@ -388,6 +388,10 @@ message CreateVolumeRequest {
388
388
// VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY
389
389
// choose where the provisioned volume is accessible from.
390
390
TopologyRequirement accessibility_requirements = 7 ;
391
+
392
+ // The ID of the volume group where the volume will be added to.
393
+ // This field is OPTIONAL.
394
+ string volume_group_id = 8 ;
391
395
}
392
396
393
397
// Specifies what source the volume will be created from. One of the
@@ -588,6 +592,10 @@ message Volume {
588
592
// Indicates a volume accessible from both "zone" "Z2" and "zone" "Z3"
589
593
// in the "region" "R1".
590
594
repeated Topology accessible_topology = 5 ;
595
+
596
+ // The ID of the volume group where the volume belongs to.
597
+ // This field is OPTIONAL.
598
+ string volume_group_id = 6 ;
591
599
}
592
600
593
601
message TopologyRequirement {
@@ -1069,18 +1077,6 @@ message CreateVolumeGroupRequest {
1069
1077
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1070
1078
// section on how to use this field.
1071
1079
map <string , string > secrets = 3 [(csi_secret) = true ];
1072
-
1073
- // Phase 2
1074
- // If specified, a volume group will be created from the source group
1075
- // snapshot.
1076
- // This field is OPTIONAL.
1077
- // VolumeGroupSnapshot source_volume_group_snapshot = 4;
1078
-
1079
- // Phase 2
1080
- // If specified, a volume group will be created from a list of
1081
- // existing volumes.
1082
- // This field is OPTIONAL.
1083
- // repeated string volume_id = 5;
1084
1080
}
1085
1081
1086
1082
message CreateVolumeGroupResponse {
@@ -1111,15 +1107,12 @@ message VolumeGroup {
1111
1107
// VolumeGroup is not empty.
1112
1108
// - Response from ModifyVolumeGroup if the VolumeGroup is not
1113
1109
// empty after modification.
1114
- // - Phase 2: Create a new volume group from a source group snapshot.
1115
- // - Phase 2: Create a new volume group and add a list of existing
1116
- // volumes to the group.
1117
1110
repeated .csi.v1.Volume volumes = 3 ;
1118
1111
}
1119
1112
message DeleteVolumeGroupRequest {
1120
1113
option (alpha_message) = true ;
1121
1114
1122
- // The ID of the volume group to be deprovisioned .
1115
+ // The ID of the volume group to be deleted .
1123
1116
// This field is REQUIRED.
1124
1117
string volume_group_id = 1 ;
1125
1118
@@ -1149,6 +1142,12 @@ message ModifyVolumeGroupRequest {
1149
1142
// be removed from the group.
1150
1143
// This field is OPTIONAL.
1151
1144
repeated string volume_ids = 2 ;
1145
+
1146
+ // Secrets required by plugin to complete volume group
1147
+ // modification request.
1148
+ // This field is OPTIONAL. Refer to the `Secrets Requirements`
1149
+ // section on how to use this field.
1150
+ map <string , string > secrets = 3 [(csi_secret) = true ];
1152
1151
}
1153
1152
1154
1153
message ModifyVolumeGroupResponse {
@@ -1165,6 +1164,12 @@ message ControllerGetVolumeGroupRequest {
1165
1164
// information for.
1166
1165
// This field is REQUIRED.
1167
1166
string volume_group_id = 1 ;
1167
+
1168
+ // Secrets required by plugin to complete ControllerGetVolumeGroup
1169
+ // request.
1170
+ // This field is OPTIONAL. Refer to the `Secrets Requirements`
1171
+ // section on how to use this field.
1172
+ map <string , string > secrets = 2 [(csi_secret) = true ];
1168
1173
}
1169
1174
1170
1175
message ControllerGetVolumeGroupResponse {
@@ -1191,6 +1196,11 @@ message ListVolumeGroupsRequest {
1191
1196
// the next page of entries. This field is OPTIONAL.
1192
1197
// An empty string is equal to an unspecified field value.
1193
1198
string starting_token = 2 ;
1199
+
1200
+ // Secrets required by plugin to complete ListVolumeGroup request.
1201
+ // This field is OPTIONAL. Refer to the `Secrets Requirements`
1202
+ // section on how to use this field.
1203
+ map <string , string > secrets = 3 [(csi_secret) = true ];
1194
1204
}
1195
1205
1196
1206
message ListVolumeGroupsResponse {
@@ -1282,7 +1292,7 @@ message VolumeGroupSnapshot {
1282
1292
message DeleteVolumeGroupSnapshotRequest {
1283
1293
option (alpha_message) = true ;
1284
1294
1285
- // The ID of the group snapshot to be deprovisioned .
1295
+ // The ID of the group snapshot to be deleted .
1286
1296
// This field is REQUIRED.
1287
1297
string group_snapshot_id = 1 ;
1288
1298
@@ -1303,6 +1313,12 @@ message ControllerGetVolumeGroupSnapshotRequest {
1303
1313
// information for.
1304
1314
// This field is REQUIRED.
1305
1315
string group_snapshot_id = 1 ;
1316
+
1317
+ // Secrets required by plugin to complete
1318
+ // ControllerGetVolumeGroupSnapshot request.
1319
+ // This field is OPTIONAL. Refer to the `Secrets Requirements`
1320
+ // section on how to use this field.
1321
+ map <string , string > secrets = 2 [(csi_secret) = true ];
1306
1322
}
1307
1323
1308
1324
message ControllerGetVolumeGroupSnapshotResponse {
@@ -1329,6 +1345,12 @@ message ListVolumeGroupSnapshotsRequest {
1329
1345
// call to get the next page of entries. This field is OPTIONAL.
1330
1346
// An empty string is equal to an unspecified field value.
1331
1347
string starting_token = 2 ;
1348
+
1349
+ // Secrets required by plugin to complete ListVolumeGroupSnapshot
1350
+ // request.
1351
+ // This field is OPTIONAL. Refer to the `Secrets Requirements`
1352
+ // section on how to use this field.
1353
+ map <string , string > secrets = 3 [(csi_secret) = true ];
1332
1354
}
1333
1355
1334
1356
message ListVolumeGroupSnapshotsResponse {
@@ -1537,6 +1559,10 @@ message Snapshot {
1537
1559
// `volume_content_source` in a `CreateVolumeRequest`. The default
1538
1560
// value is false. This field is REQUIRED.
1539
1561
bool ready_to_use = 5 ;
1562
+
1563
+ // The ID of the volume group snapshot that this snapshot is part of.
1564
+ // This field is OPTIONAL.
1565
+ string group_snapshot_id = 6 ;
1540
1566
}
1541
1567
message DeleteSnapshotRequest {
1542
1568
// The ID of the snapshot to be deleted.
0 commit comments