Add generator VM Xtesting call example in documentation 34/72434/1 5.0.1
authorfmenguy <francoisregis.menguy@orange.com>
Wed, 28 Apr 2021 11:27:15 +0000 (13:27 +0200)
committerfmenguy <francoisregis.menguy@orange.com>
Wed, 28 Apr 2021 11:27:15 +0000 (13:27 +0200)
Change-Id: I789caa7f46bd2b21af15ec5ffe4d857e10a7734c
Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
nfvbenchvm/README.rst

index 2e12bf4..0274c75 100644 (file)
@@ -4,7 +4,7 @@ NFVBENCH VM IMAGES FOR OPENSTACK
 This repo will build two centos 7 images with:
     - testpmd and VPP installed for loop VM use case
     - NFVbench and TRex installed for generator VM use case
-The VM will come with a pre-canned user/password: nfvbench/nfvbench
+These VMs will come with a pre-canned user/password: nfvbench/nfvbench
 
 BUILD INSTRUCTIONS
 ==================
@@ -236,6 +236,20 @@ Example of return when the submission is successful:
       "status": "PENDING"
     }
 
+
+Start NFVbench test using Xtesting
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+To start a test run using Xtesting python library and NFVbench API use this type of command on the VM:
+
+.. code-block:: bash
+
+run_tests -t nfvbench-demo
+
+.. note:: `-t` option determine which test case to be runned by Xtesting
+ (see `xtesting/testcases.yaml` file content to see available list of test cases)
+
+
 Connect to the VM using SSH keypair
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^