diff options
author | ahothan <ahothan@cisco.com> | 2020-09-10 12:11:35 -0700 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2020-09-10 12:12:34 -0700 |
commit | 64579b717d47ab7f654c574794831be984bf32e1 (patch) | |
tree | 65d399356c639962d20ae50beb89b662badf4cf4 /nfvbench | |
parent | dbb932797aff64d458231519d3cf245913913d67 (diff) |
NFVBENCH-176 Cannot run service mode with flow stats
Change-Id: Iac920f75ea95c8d53afceeebf6445a4416d089d8
Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench')
-rwxr-xr-x | nfvbench/traffic_client.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nfvbench/traffic_client.py b/nfvbench/traffic_client.py index 460e7c2..e2ae977 100755 --- a/nfvbench/traffic_client.py +++ b/nfvbench/traffic_client.py @@ -861,8 +861,10 @@ class TrafficClient(object): if self.config.no_latency_streams: LOG.info("Latency streams are disabled") + # in service mode, we must disable flow stats (e2e=True) self.gen.create_traffic(frame_size, self.run_config['rates'], bidirectional, - latency=not self.config.no_latency_streams) + latency=not self.config.no_latency_streams, + e2e=self.runner.service_mode) def _modify_load(self, load): self.current_total_rate = {'rate_percent': str(load)} |