summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/server.rst
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2017-11-27 18:43:28 -0800
committerahothan <ahothan@cisco.com>2017-11-27 18:43:28 -0800
commit48761532adf2420d7932149cc0e16c69804e9c16 (patch)
tree7940a873ab14868e32191defecd7926988e20149 /docs/testing/user/userguide/server.rst
parent1ce98c7510f810a5ee790523a0dcbf429961adda (diff)
Fix docker container to pick VM image 0.5, enhance doc diagrams1.2.0
Add SRIOV packet paths Change-Id: I0f082fd3443e41dec81ab1847726107b07ea9b52 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'docs/testing/user/userguide/server.rst')
-rw-r--r--docs/testing/user/userguide/server.rst18
1 files changed, 11 insertions, 7 deletions
diff --git a/docs/testing/user/userguide/server.rst b/docs/testing/user/userguide/server.rst
index 1c1e052..70c5fdd 100644
--- a/docs/testing/user/userguide/server.rst
+++ b/docs/testing/user/userguide/server.rst
@@ -44,11 +44,15 @@ HTTP Interface
This request simply returns whatever content is sent in the body of the request (body should be in json format, only used for testing)
-Example request: curl -XGET '127.0.0.1:7556/echo' -H "Content-Type: application/json" -d '{"nfvbench": "test"}'
-Response:
-{
- "nfvbench": "test"
-}
+Example request:
+
+.. code-block:: bash
+
+ curl -XGET '127.0.0.1:7556/echo' -H "Content-Type: application/json" -d '{"nfvbench": "test"}'
+ Response:
+ {
+ "nfvbench": "test"
+ }
<http-url>/status (GET)
@@ -82,7 +86,7 @@ Example of return when the run completes:
<http-url>/start_run (POST)
-^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
This request starts an NFVBench run with passed configurations. If no configuration is passed, a run with default configurations will be executed.
@@ -101,7 +105,7 @@ Example of return when the submission is successful:
"status": "PENDING"
}
-If there is already an NFVBench running then it will return
+If there is already an NFVBench running then it will return:
.. code-block:: bash