aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configguide/trafficgen.rst
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2016-07-01 16:58:21 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-01 16:58:21 +0000
commitfcf61c407611b317f70c4b78424326d4f76f28bf (patch)
tree5919e1b256950f6431adf0f6240c00ddfd7e8c5a /docs/configguide/trafficgen.rst
parent891e07bcb787a3ecc00b3948baa2c5c928dfddf8 (diff)
parent65fe101fb2c040ef7c43fa719f0bc52d434489b6 (diff)
Merge "pkt_gen: Adding MoonGen traffic generator"
Diffstat (limited to 'docs/configguide/trafficgen.rst')
-rw-r--r--docs/configguide/trafficgen.rst43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/configguide/trafficgen.rst b/docs/configguide/trafficgen.rst
index 771c640a..63560b9c 100644
--- a/docs/configguide/trafficgen.rst
+++ b/docs/configguide/trafficgen.rst
@@ -15,6 +15,7 @@ VSPERF supports the following traffic generators:
* IXIA (IxNet and IxOS)
* Spirent TestCenter
* Xena Networks
+ * MoonGen
To see the list of traffic gens from the cli:
@@ -289,3 +290,45 @@ set to allow for proper connections to the chassis.
TRAFFICGEN_XENA_PASSWORD = ''
TRAFFICGEN_XENA_MODULE1 = ''
TRAFFICGEN_XENA_MODULE2 = ''
+
+
+MoonGen
+-------
+
+Installation
+~~~~~~~~~~~~
+
+MoonGen architecture overview and general installation instructions
+can be found here:
+
+https://github.com/emmericp/MoonGen
+
+For VSPerf use, MoonGen should be cloned from here (as opposed to the afore
+mentioned GitHub):
+
+git clone https://github.com/atheurer/MoonGen
+
+and use the opnfv-stable branch:
+
+git checkout opnfv-stable
+
+VSPerf uses a particular example script under the examples directory within
+the MoonGen project:
+
+MoonGen/examples/opnfv-vsperf.lua
+
+Follow MoonGen set up instructions here:
+
+https://github.com/atheurer/MoonGen/blob/opnfv-stable/MoonGenSetUp.html
+
+Note one will need to set up ssh login to not use passwords between the server
+running MoonGen and the device under test (running the VSPERF test
+infrastructure). This is because VSPERF on one server uses 'ssh' to
+configure and run MoonGen upon the other server.
+
+One can set up this ssh access by doing the following on both servers:
+
+.. code-block:: console
+
+ ssh-keygen -b 2048 -t rsa
+ ssh-copy-id <other server>