summaryrefslogtreecommitdiffstats
path: root/nfvbench/traffic_client.py
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2017-08-15 11:28:53 -0700
committerYichen Wang <yicwang@cisco.com>2017-08-18 01:04:05 -0700
commit5d2becfd9d6398ce9dfd4c83618de42e272ec830 (patch)
treed9039260137b1d9ab57e25eba853220baa7ba9e3 /nfvbench/traffic_client.py
parent4c5e4ba753face81fd73aa3bae1fe3c012e48859 (diff)
[NFVBENCH-7] Return errors when unknown options are passed
1. Return errors when unknown options are passed 2. Fix pep8 warnings Change-Id: I1cbc86de93b4633bbf9bd66c1dc956ff8b3679a6 Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'nfvbench/traffic_client.py')
-rw-r--r--nfvbench/traffic_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfvbench/traffic_client.py b/nfvbench/traffic_client.py
index 319dc0b..7c8367a 100644
--- a/nfvbench/traffic_client.py
+++ b/nfvbench/traffic_client.py
@@ -609,7 +609,8 @@ class TrafficClient(object):
indicating the rate to send on each interface
right the right side of the range to search as a % of line rate
indicating the rate to send on each interface
- targets a dict of drop rates to search (0.1 = 0.1%), indexed by the DR name or "tag" ('ndr', 'pdr')
+ targets a dict of drop rates to search (0.1 = 0.1%), indexed by the DR name or "tag"
+ ('ndr', 'pdr')
results a dict to store results
'''
if len(targets) == 0: