blockstorage/v3: Add support for create/delete qos#2140
blockstorage/v3: Add support for create/delete qos#2140jtopjian merged 1 commit intogophercloud:masterfrom
Conversation
|
Build succeeded.
|
|
@jtopjian this is ready from my side. |
|
@nikParasyr Thanks! This set of API calls is a bit strange. The schema only defines a single field called With that in mind, from reading the other Python code, I do agree with your assessment for using One optional change you can make is to define the different types of consumers as types, since there is only a finite set of acceptable values for consumer: https://github.com/openstack/cinder/blob/acfc148d7cec08362873115abb4551d2ba531d06/cinder/objects/fields.py#L139-L142 You can see an example of this here:
Note that this type would only be used in the functions in Again, this is optional, but encouraged as it helps model the data more accurately. Please let me know if you have any questions. |
b57537f to
2ca6529
Compare
|
Build failed.
|
|
recheck |
|
Build failed.
|
|
recheck |
|
Build succeeded.
|
|
@jtopjian thanks for the help :) The changes are done. Let me know if anything is missing |
jtopjian
left a comment
There was a problem hiding this comment.
LGTM - nice work. Thank you!
For #2139
Create:
Return code on doc is wrong, and parameters other than
nameare missing. Code showcases more how consumer and specs are used.docs
code_schema code_api code
Delete:
docs
code_api code