Add file storage backend parameter error

When I used the /v1/storage_file interface to
create a file storage backend, I found that
the request parameters backend and services
are mandatory and not optional.

Closes-Bug: #1899402
Change-Id: I9e78dc3f2623521185b7c6605015490ff0e09098
Signed-off-by: YuehuiLei<leiyuehui@inspur.com>
This commit is contained in:
YuehuiLei 2020-10-12 15:08:31 +08:00
parent 99616a7f72
commit 44d7f1eea9
1 changed files with 2 additions and 2 deletions

View File

@ -9588,9 +9588,9 @@ badMediaType (415)
:header: "Parameter", "Style", "Type", "Description"
:widths: 20, 20, 20, 60
"backend (Optional)", "plain", "xsd:string", "This parameter specifies the type of the backend. Valid values are (is): ``file``"
"backend", "plain", "xsd:string", "This parameter specifies the type of the backend. Valid values are (is): ``file``"
"name (Optional)", "plain", "xsd:string", "This parameter specifies the name of the backend."
"services (Optional)", "plain", "xsd:string", "The name of the storage service."
"services", "plain", "xsd:string", "The name of the storage service."
"capabilities (Optional)", "plain", "xsd:string", "A dictionary of storage backend capabilities."
"confirmed (Optional)", "plain", "xsd:boolean", "When ""false"" it will run in test mode without applying any modification. This allow checking a request for validity before performing non-reversible changes. When set to ""true"" the modifications are immediately applied."