From 48761532adf2420d7932149cc0e16c69804e9c16 Mon Sep 17 00:00:00 2001 From: ahothan Date: Mon, 27 Nov 2017 18:43:28 -0800 Subject: Fix docker container to pick VM image 0.5, enhance doc diagrams Add SRIOV packet paths Change-Id: I0f082fd3443e41dec81ab1847726107b07ea9b52 Signed-off-by: ahothan --- docs/testing/user/userguide/server.rst | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'docs/testing/user/userguide/server.rst') 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" + } /status (GET) @@ -82,7 +86,7 @@ Example of return when the run completes: /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 -- cgit 1.2.3-korg