From 22d8df8ba78b9bf8c17386b1bb36850c7d52bbd8 Mon Sep 17 00:00:00 2001 From: XinxinShen Date: Wed, 28 Oct 2020 18:45:10 +0800 Subject: [PATCH] Update API documentation for create an L2 interface An error occurred when using the API interface (/v1/ihosts/{host_id}/iinterfaces) in the API document. After analyzing the code, I found that the API interface should be /v1/iinterfaces, so update this partition section of the API documentation. Closes-Bug:#1901833 Change-Id: Ifdef1895c2bba07843e9234b78107cf45524993e Signed-off-by: XinxinShen --- api-ref/source/api-ref-sysinv-v1-config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index 2b62779e7e..21cbee4496 100644 --- a/api-ref/source/api-ref-sysinv-v1-config.rst +++ b/api-ref/source/api-ref-sysinv-v1-config.rst @@ -2579,7 +2579,7 @@ This operation does not accept a request body. Creates an L2 interface on a specific host ****************************************** -.. rest_method:: POST /v1/ihosts/{host_id}/iinterfaces +.. rest_method:: POST /v1/iinterfaces **Normal response codes**