Trex client not starting in 4 port baremetal 89/66589/8
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Wed, 23 Jan 2019 11:11:00 +0000 (11:11 +0000)
committerDaniel Martin Buckley <daniel.m.buckley@intel.com>
Mon, 4 Feb 2019 13:05:29 +0000 (13:05 +0000)
commitdeea27f8e9c99b0a547b4c8c2f39dd99d5c4f1a8
tree42fd48fc85be39cd60aa564ac8468bc0223249c4
parent7798690cb936d49e6e05b599afe79f047c172e43
Trex client not starting in 4 port baremetal

JIRA: YARDSTICK-1589

After calling STLclient.connect() there is no check if
connection was sucessfull or not.

Added a check for success on connect, retry if failure
and disconnect and connect on timeout.

If still connect failed then do not resume .. end with
LOG.critial and exit.

Change-Id: Ifd306b7920d9acbc16681cf79bf952d5af31eb64
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
yardstick/network_services/vnf_generic/vnf/sample_vnf.py