From 61e5232c38a65fb56f49ab46789b2bc2a55defd9 Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Wed, 6 Jul 2016 16:54:46 +0800 Subject: [PATCH] Body verification of os-interface.inc This patch verifies the body of os-interface.inc part of bp:api-ref-in-rst Change-Id: Ie7a127b66f1b740d5b6f4bd434b62a06af2a3209 --- api-ref/source/os-interface.inc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/api-ref/source/os-interface.inc b/api-ref/source/os-interface.inc index ccaa8956efcb..0ac8ee031346 100644 --- a/api-ref/source/os-interface.inc +++ b/api-ref/source/os-interface.inc @@ -1,13 +1,12 @@ .. -*- rst -*- -.. needs:body_verification ========================================= Port interfaces (servers, os-interface) ========================================= -Creates a port interface and uses it to attach a port to a server and -detaches a port interface from a server. Also, lists all port interfaces -and shows details for a port interface. +List port interfaces, show port interface details of the given server. +Create a port interface and uses it to attach a port to the given server, +detach a port interface from the given server. List Port Interfaces ==================== @@ -53,7 +52,7 @@ Create Interface .. rest_method:: POST /servers/{server_id}/os-interface -Creates a port interface and uses it to attach a port to a server instance. +Creates a port interface and uses it to attach a port to a server. Normal response codes: 200 @@ -75,12 +74,12 @@ Request **Example Create Interface: JSON request** -Create Interface with ``net_id`` and ``fixed_ips``. +Create interface with ``net_id`` and ``fixed_ips``. .. literalinclude:: ../../doc/api_samples/os-attach-interfaces/attach-interfaces-create-net_id-req.json :language: javascript -Create Interface with ``port_id``. +Create interface with ``port_id``. .. literalinclude:: ../../doc/api_samples/os-attach-interfaces/attach-interfaces-create-req.json :language: javascript @@ -148,7 +147,7 @@ Detach Interface .. rest_method:: DELETE /servers/{server_id}/os-interface/{port_id} -Detaches a port interface. +Detaches a port interface from a server. Normal response codes: 202