From 00410ac4f2b167af4d6cd01072c791ac6804ce5a Mon Sep 17 00:00:00 2001 From: Kerim Gokarslan Date: Thu, 31 Aug 2017 12:39:07 -0700 Subject: NFVBENCH-12 Add run summary to fluentd stream NFVBENCH-14 Fluentd server IP adress from the config is not picked up when configured NFVBENCH-16 At the start of each run send a new fluent record with the config Change-Id: I2d76ecee5b1b93dad4eeccd67d5ed906a0a8faba Signed-off-by: Kerim Gokarslan --- docs/testing/user/userguide/server.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'docs/testing/user/userguide') diff --git a/docs/testing/user/userguide/server.rst b/docs/testing/user/userguide/server.rst index 4495e19..ebdd828 100644 --- a/docs/testing/user/userguide/server.rst +++ b/docs/testing/user/userguide/server.rst @@ -42,12 +42,15 @@ HTTP Interface /echo (GET) ^^^^^^^^^^^^^^^^^^^^^ -This request simply returns whatever content is sent in the body of the request (only used for testing) +This request simply returns whatever content is sent in the body of the request (body should be in json format, only used for testing) -/start_run (POST) -^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Example request: curl -XGET '127.0.0.1:7556/echo' -H "Content-Type: application/json" -d '{"vmtp": "test"}' +Response: +{ + "vmtp": "test" +} -This request will initiate a new NFVbench run asynchornously and can optionally pass the NFVbench configuration to run in the body (in JSON format). +ls See "NFVbench configuration JSON parameter" below for details on how to format this parameter. The request returns immediately with a json content indicating if there was an error (status=ERROR) or if the request was submitted successfully (status=PENDING). Example of return when the submission is successful: @@ -147,7 +150,7 @@ The entire default configuration can be viewed using the --show-json-config opti .. code-block:: bash - # nfvbench --show-json-config + # nfvbench --show-config { "availability_zone": null, "compute_node_user": "root", -- cgit 1.2.3-korg