File tree Expand file tree Collapse file tree 3 files changed +288
-337
lines changed Expand file tree Collapse file tree 3 files changed +288
-337
lines changed Original file line number Diff line number Diff line change @@ -948,23 +948,19 @@ message GetCapacityResponse {
948948 // The value of this field MUST NOT be negative.
949949 int64 available_capacity = 1 ;
950950
951- // The largest size that may be used in a CreateVolume call
951+ // The supported volume size that may be used in a CreateVolume call
952952 // to create a volume with the same parameters as those in
953- // GetCapacityRequest.
953+ // GetCapacityRequest, given as a lower bound (`required_bytes`)
954+ // and an upper bound (`limit_bytes`).
954955 //
955956 // If `volume_capabilities` or `parameters` is
956957 // specified in the request, the Plugin SHALL take those into
957- // consideration when calculating the maximum volume size of the
958+ // consideration when calculating the supported volume size of the
958959 // storage.
959960 //
960961 // This field is OPTIONAL. COs MAY use it to make decision about
961962 // where to create volumes.
962- Capacity maximum_volume_size = 2 [(alpha_field) = true ];
963- }
964-
965- message Capacity {
966- // Number of bytes. MUST NOT be negative.
967- int64 value = 1 ;
963+ CapacityRange volume_size = 2 [(alpha_field) = true ];
968964}
969965message ControllerGetCapabilitiesRequest {
970966 // Intentionally empty.
You can’t perform that action at this time.
0 commit comments