summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide
diff options
context:
space:
mode:
authorfmenguy <francoisregis.menguy@orange.com>2019-03-22 14:21:25 +0100
committerfmenguy <francoisregis.menguy@orange.com>2019-03-28 15:07:29 +0100
commit14020b73cf334c303bcb1a0375fdee6b2119bc70 (patch)
tree5cd6abb30231889a5c722530f1bc80c4cbd810a3 /docs/testing/user/userguide
parent88254acfd35a6db2176a857d1a74591c9f337841 (diff)
Add possibility to restart TRex in case of config change or forced it with config flag
Change-Id: I40473eac355b76655220d48062eff851cc4eebc3 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'docs/testing/user/userguide')
-rw-r--r--docs/testing/user/userguide/advanced.rst16
-rw-r--r--docs/testing/user/userguide/server.rst9
2 files changed, 25 insertions, 0 deletions
diff --git a/docs/testing/user/userguide/advanced.rst b/docs/testing/user/userguide/advanced.rst
index 1d2ac36..1a6e999 100644
--- a/docs/testing/user/userguide/advanced.rst
+++ b/docs/testing/user/userguide/advanced.rst
@@ -78,6 +78,22 @@ Used parameters:
* ``--no-traffic`` or ``-0`` : sending traffic from traffic generator is skipped
+TRex force restart
+------------------------------------
+
+NFVbench allows to restart TRex traffic generator between runs.
+It runs the whole test, but restart TRex instance before generating new traffic.
+
+To force restart, use the --restart option:
+
+.. code-block:: bash
+
+ nfvbench --restart
+
+Used parameters:
+
+* ``--restart`` : restart traffic generator (TRex)
+
Fixed Rate Run
--------------
diff --git a/docs/testing/user/userguide/server.rst b/docs/testing/user/userguide/server.rst
index 806927b..fc56dfc 100644
--- a/docs/testing/user/userguide/server.rst
+++ b/docs/testing/user/userguide/server.rst
@@ -311,6 +311,15 @@ A short run of 5 seconds at a fixed rate of 1Mpps (and everything else same as t
"rate": "1Mpps"
}
+Use the default configuration but force TRex restart:
+
+.. code-block:: bash
+
+ {
+ "restart": true
+ }
+
+
Example of interaction with the NFVbench server using HTTP and curl
-------------------------------------------------------------------
HTTP requests can be sent directly to the NFVbench server from CLI using curl from any host that can connect to the server (here we run it from the local host).