Add pktgen traffic profile 13/60113/2
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 23 Jul 2018 11:07:27 +0000 (12:07 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 23 Jul 2018 11:10:14 +0000 (12:10 +0100)
commitba4f3991198b36ea60462a7ed6d35bdfc263bea1
tree86bde37640e75a8053ffbcd77847c29d35ee1f57
parent424678753bdf017fe58b002bf17f2ee6de7284ad
Add pktgen traffic profile

This new profile is based on the DPDK pktgen traffic generator. The traffic
generator is controlled using LUA [1]. Those string commands are sent to
the traffic generator using an open socket. Host address and open port are
needed parameters.

The following actions are implemented:
  - start injection
  - stop injection
  - change injection rate
  - clear all stats
  - help message command

[1] http://pktgen-dpdk.readthedocs.io/en/latest/lua.html

JIRA: YARDSTICK-1345

Change-Id: I560a168d194cedc9fdba312ec84437933efc8d9b
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
yardstick/network_services/traffic_profile/__init__.py
yardstick/network_services/traffic_profile/pktgen.py [new file with mode: 0644]
yardstick/tests/unit/network_services/traffic_profile/test_pktgen.py [new file with mode: 0644]