From 44d7f1eea99050e4e8e7c6de34fb2a17b8875a46 Mon Sep 17 00:00:00 2001 From: YuehuiLei Date: Mon, 12 Oct 2020 15:08:31 +0800 Subject: [PATCH] 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 --- api-ref/source/api-ref-sysinv-v1-config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index 66323f8372..1875cea619 100644 --- a/api-ref/source/api-ref-sysinv-v1-config.rst +++ b/api-ref/source/api-ref-sysinv-v1-config.rst @@ -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."