Fix NSB NfVi support for 25 and 40Gbps 39/58239/8
authorXavier Simonart <xavier.simonart@intel.com>
Tue, 5 Jun 2018 12:06:29 +0000 (14:06 +0200)
committerDanielMartinBuckley <daniel.m.buckley@intel.com>
Wed, 27 Jun 2018 12:56:00 +0000 (13:56 +0100)
commit1d61af34eb7b35b912d124768ad26eb5f0cd03a8
tree4bd7661db18223fdd3ff68bcd667fd2ac5ad3276
parent39b3d9ae8ff19a0d64bff0e874f05b6dbcc30b01
Fix NSB NfVi support for 25 and 40Gbps

When setting interface_speed option in the test case, NSB/PROX
was still considering 100% as 10 Gbps.
With this fix, when interface_speed is set to for instance 25 Gbps
then NSB/PROX will start generate at 25 Gbps.
Yardstick logging info printed on the screen will show performance result
as percentage of interface_speed (e.g. 100% will be 25 Gbps).
This is done by sending the command "speed 250" to PROX (PROX cannot
know the underlying interface speed in all cases e.g. in virtio, and
hence considers 100% as 10Gbps).

JIRA: YARDSTICK-1217

Change-Id: I4989161b04a7afa5e347935ee7ccef7dfe5a504d
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
yardstick/network_services/vnf_generic/vnf/prox_helpers.py