Refactor remote command execution in pktgen_dpdk 93/58493/4
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 12 Jun 2018 13:19:16 +0000 (16:19 +0300)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Tue, 19 Jun 2018 06:32:22 +0000 (09:32 +0300)
commit66c5efdd1705281abb57dcb14fff502ad125c0c1
tree0b2fe980db993b057c15f2ee522acc85d83afc0c
parent724e49770c517782e269ccdb2320f4a7eb5d87d5
Refactor remote command execution in pktgen_dpdk

PktgenDPDKLatency.run will raise a RuntimeError if a remote command
fails. This commit makes it use the already existing exception raising
mechanism in yardstick's ssh client.

JIRA: YARDSTICK-1166

Change-Id: I3a3c7691399044b174f5d040c015c9b907b2fe5d
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/benchmark/scenarios/networking/pktgen_dpdk.py
yardstick/tests/unit/benchmark/scenarios/networking/test_pktgen_dpdk.py