Skip to content

Commit d84879a

Browse files
committed
Add field accessibility_requirements to ControllerModifyVolume
1 parent 56e2f6e commit d84879a

File tree

3 files changed

+1012
-973
lines changed

3 files changed

+1012
-973
lines changed

csi.proto

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,9 +1042,19 @@ message ControllerModifyVolumeRequest {
10421042
// in modifications to the volume.
10431043
map<string, string> mutable_parameters = 3;
10441044

1045-
// Indicates whether the CO allows the SP to update the topology
1046-
// as part of the modification.
1047-
bool allow_topology_updates = 4;
1045+
// Specifies where (regions, zones, racks, etc.) the
1046+
// volume MUST be accessible from after modification.
1047+
// COs SHALL only specify topological accessibility
1048+
// information supported by the SP.
1049+
// This field is OPTIONAL.
1050+
// This field SHALL NOT be specified unless the SP has the
1051+
// VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability and the
1052+
// MODIFY_VOLUME_TOPOLOGY controller capability.
1053+
// If this field is not specified and the SP has the
1054+
// VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability and the
1055+
// MODIFY_VOLUME_TOPOLOGY controller capability, the SP MAY
1056+
// modify the volume topology according to the mutable_parameters.
1057+
TopologyRequirement accessibility_requirements = 4;
10481058
}
10491059

10501060
message ControllerModifyVolumeResponse {

0 commit comments

Comments
 (0)