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 {
948
948
// The value of this field MUST NOT be negative.
949
949
int64 available_capacity = 1 ;
950
950
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
952
952
// 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`).
954
955
//
955
956
// If `volume_capabilities` or `parameters` is
956
957
// 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
958
959
// storage.
959
960
//
960
961
// This field is OPTIONAL. COs MAY use it to make decision about
961
962
// 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 ];
968
964
}
969
965
message ControllerGetCapabilitiesRequest {
970
966
// Intentionally empty.
You can’t perform that action at this time.
0 commit comments