aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/network_services/traffic_profile/fixed.py
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-03-09 19:56:30 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-03-09 20:37:25 +0530
commit1365e88a55a8649e33d11f3d27f2fb1964bfae00 (patch)
tree4375ca3007a9d1df83401ebe592dd8d4ce44707f /yardstick/network_services/traffic_profile/fixed.py
parentdfda13a6a3eadeb316f391a91052da2820dcb9b7 (diff)
Bug Fix: force the network to attacht to trex to start the traffic
Change-Id: I73744a9e0f1830688a171f3f28044926b13f8a43 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'yardstick/network_services/traffic_profile/fixed.py')
-rw-r--r--yardstick/network_services/traffic_profile/fixed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/network_services/traffic_profile/fixed.py b/yardstick/network_services/traffic_profile/fixed.py
index a456c2bd7..ebc1e61f2 100644
--- a/yardstick/network_services/traffic_profile/fixed.py
+++ b/yardstick/network_services/traffic_profile/fixed.py
@@ -43,7 +43,8 @@ class FixedProfile(TrafficProfile):
self._create_stream(src_ip, dst_ip),
ports=[ports])
- traffic_generator.client.start(ports=traffic_generator.my_ports)
+ traffic_generator.client.start(ports=traffic_generator.my_ports,
+ force=True)
self.first_run = False
def _create_stream(self, src_ip, dst_ip):