Add send socket commands function 93/57593/7
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Sat, 19 May 2018 18:31:37 +0000 (19:31 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Thu, 14 Jun 2018 07:16:06 +0000 (07:16 +0000)
commitc70be07682566ae05bafbf05a7e8c85ae4e1297e
treec5e52918e1e85941898d622eb20487ac39de1c4e
parentc601ff364311f0aae04b40b1672ea47bb487c327
Add send socket commands function

Pktgen provides a TCP socket connection to allow the user to control
it from a remote console or program [1].

This new method will provide Yardstick the ability to send string
commands to a port in a remote host.

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

JIRA: YARDSTICK-1186

Change-Id: I9d64ccad662fa3599de65654c5dab02833fcc91d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
yardstick/common/utils.py
yardstick/tests/functional/common/test_utils.py
yardstick/tests/unit/common/test_utils.py