Add DPDK pktgen traffic generator 07/60107/2
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 23 Jul 2018 09:05:49 +0000 (10:05 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 23 Jul 2018 10:41:03 +0000 (11:41 +0100)
commit424678753bdf017fe58b002bf17f2ee6de7284ad
tree281fa52b0fea2f1c9cc31071e24eda1ba88488ed
parentda95727e2a3a9e0f816f50b40202bb231c936231
Add DPDK pktgen traffic generator

Add DPDK pktgen traffic generator. This traffic generator is designed
only to work in with a MQ aware runner. Implements two consumer methods:
  - runner_method_start_iteration
  - runner_method_stop_iteration

"run_traffic" method will only initialize the traffic profile object.
This traffic generator uses a socket port (LUA port, default 22022) to
send the command messages.

Link: http://pktgen-dpdk.readthedocs.io/en/latest/index.html
JIRA: YARDSTICK-1344

Change-Id: I89bba0f462fa1c22b33f1253f67f7c41e6e721a5
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
yardstick/common/constants.py
yardstick/common/exceptions.py
yardstick/network_services/vnf_generic/vnf/tg_pktgen.py [new file with mode: 0644]
yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_pktgen.py [new file with mode: 0644]