GabrielBrascher commented on a change in pull request #3133: feature: add
libvirt / qemu io bursting
URL: https://github.com/apache/cloudstack/pull/3133#discussion_r248661613
##########
File path:
api/src/main/java/org/apache/cloudstack/api/command/admin/offering/CreateDiskOfferingCmd.java
##########
@@ -80,15 +80,41 @@
@Parameter(name = ApiConstants.BYTES_READ_RATE, type = CommandType.LONG,
required = false, description = "bytes read rate of the disk offering")
private Long bytesReadRate;
+
+ @Parameter(name = ApiConstants.BYTES_READ_RATE_MAX, type =
CommandType.LONG, required = false, description = "burst bytes read rate of the
disk offering")
+ private Long bytesReadRateMax;
+
+ @Parameter(name = ApiConstants.BYTES_READ_RATE_MAX_LENGTH, type =
CommandType.LONG, required = false, description = "length (in seconds) of the
burst")
+ private Long bytesReadRateMaxLength;
+
@Parameter(name = ApiConstants.BYTES_WRITE_RATE, type = CommandType.LONG,
required = false, description = "bytes write rate of the disk offering")
private Long bytesWriteRate;
+ @Parameter(name = ApiConstants.BYTES_WRITE_RATE_MAX, type =
CommandType.LONG, required = false, description = "burst bytes write rate of
the disk offering")
+ private Long bytesWriteRateMax;
+
+
+ @Parameter(name = ApiConstants.BYTES_WRITE_RATE_MAX_LENGTH, type =
CommandType.LONG, required = false, description = "length (in seconds) of the
burst")
+ private Long bytesWriteRateMaxLength;
+
@Parameter(name = ApiConstants.IOPS_READ_RATE, type = CommandType.LONG,
required = false, description = "io requests read rate of the disk offering")
private Long iopsReadRate;
+ @Parameter(name = ApiConstants.IOPS_READ_RATE_MAX, type =
CommandType.LONG, required = false, description = "burst requests read rate of
the disk offering")
+ private Long iopsReadRateMax;
+
+ @Parameter(name = ApiConstants.IOPS_READ_RATE_MAX_LENGTH, type =
CommandType.LONG, required = false, description = "length (in seconds) of the
burst")
+ private Long iopsReadRateMaxLength;
+
@Parameter(name = ApiConstants.IOPS_WRITE_RATE, type = CommandType.LONG,
required = false, description = "io requests write rate of the disk offering")
private Long iopsWriteRate;
+ @Parameter(name = ApiConstants.IOPS_WRITE_RATE_MAX, type =
CommandType.LONG, required = false, description = "burst io requests write rate
of the disk offering")
+ private Long iopsWriteRateMax;
+
+ @Parameter(name = ApiConstants.IOPS_WRITE_RATE_MAX_LENGTH, type =
CommandType.LONG, required = false, description = "length (in seconds) of the
burst")
Review comment:
I noticed in this class and in DiskOfferingResponse.java that there are some
descriptions as `length (in seconds) of the burst`.
What do you think of changing the description to something as `length (in
seconds) of the write burst` or `maximum length (in seconds) of the write
burst` (changing the `write` in case of a `read`)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services