@@ -243,6 +243,11 @@ message CreateVolumeRequest {
243
243
// If this field is not specified and the SP has the
244
244
// VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY
245
245
// choose where the provisioned volume is accessible from.
246
+ // When creating a volume from a snapshot, SP SHALL look at
247
+ // accessibility_requirements in CreateVolumeRequest and
248
+ // accessible_topology in CreateSnapshotResponse, and find an
249
+ // intersection of the two. This intersection SHALL be reflected in
250
+ // accessible_topology of CreateVolumeResponse.
246
251
TopologyRequirement accessibility_requirements = 7 ;
247
252
}
248
253
@@ -1183,9 +1188,12 @@ message NodeGetInfoResponse {
1183
1188
// VOLUME_ACCESSIBILITY_CONSTRAINTS or
1184
1189
// SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability.
1185
1190
// COs MAY use this information along with the topology information
1186
- // returned in CreateVolumeResponse CreateSnapshotResponse to ensure
1187
- // that a given volume or snapshot is accessible from a given node
1188
- // when scheduling workloads.
1191
+ // returned in CreateVolumeResponse or CreateSnapshotResponse to
1192
+ // ensure that a given volume or snapshot is accessible from a given
1193
+ // node when scheduling workloads.
1194
+ // For creating a volume from a snapshot, the topology information in
1195
+ // CreateVolumeResponse is the intersection of topologies accessible
1196
+ // by the volume and its source snapshot.
1189
1197
// This field is OPTIONAL. If it is not specified, the CO MAY assume
1190
1198
// the node is not subject to any topological constraint, and MAY
1191
1199
// schedule workloads that reference any volume V, such that there are
0 commit comments