pkt_gen: MoonGen updated to keep parity with master 53/25253/2
authorbmichalo <bmichalo@redhat.com>
Wed, 30 Nov 2016 14:56:38 +0000 (09:56 -0500)
committerbmichalo <bmichalo@redhat.com>
Wed, 30 Nov 2016 20:35:08 +0000 (15:35 -0500)
Need to make VSPERF's MoonGen codebase in parity with master emmerich
MoonGen branch.

JIRA:  VSPERF-400

Change-Id: I8c50ed89c9e7b0080497107c1af826f49c1e82f0
Signed-off-by: bmichalo <bmichalo@redhat.com>
docs/configguide/trafficgen.rst
tools/pkt_gen/moongen/moongen.py

index efcc4d8..3d0cfc6 100644 (file)
@@ -443,23 +443,22 @@ https://github.com/emmericp/MoonGen
 
 * Note:  Today, MoonGen with VSPERF only supports 10Gbps line speeds.
 
-For VSPerf use, MoonGen should be cloned from here (as opposed to the previously
-mentioned GitHub):
+For VSPERF use, MoonGen should be cloned from here (as opposed to the
+previously mentioned GitHub):
 
-git clone https://github.com/atheurer/MoonGen
+git clone https://github.com/atheurer/lua-trafficgen
 
-and use the opnfv-stable branch:
+and use the master branch:
 
-git checkout opnfv-stable
+git checkout master
 
-VSPerf uses a particular example script under the examples directory within
-the MoonGen project:
+VSPERF uses a particular Lua script with the MoonGen project:
 
-MoonGen/examples/opnfv-vsperf.lua
+trafficgen.lua
 
-Follow MoonGen set up instructions here:
+Follow MoonGen set up and execution instructions here:
 
-https://github.com/atheurer/MoonGen/blob/opnfv-stable/MoonGenSetUp.html
+https://github.com/atheurer/lua-trafficgen/blob/master/README.md
 
 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
index fe3aca5..7fd6766 100644 (file)
@@ -222,7 +222,7 @@ class Moongen(ITrafficGenerator):
                           "@" + self._moongen_host_ip_addr
 
         cmd_find_moongen = connect_moongen + " ls " + \
-                           self._moongen_base_dir + "/examples/opnfv-vsperf.lua"
+                           self._moongen_base_dir + "/trafficgen.lua"
 
         find_moongen = subprocess.Popen(cmd_find_moongen,
                                         shell=True,
@@ -367,7 +367,7 @@ class Moongen(ITrafficGenerator):
             self._moongen_host_ip_addr
 
         cmd_moongen = " 'cd " + self._moongen_base_dir + \
-            "; ./build/MoonGen examples/opnfv-vsperf.lua | tee moongen_log.txt'"
+            "; ./MoonGen/build/MoonGen trafficgen.lua | tee moongen_log.txt'"
 
         cmd_start_moongen = connect_moongen + cmd_moongen