diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2019-01-15 11:06:29 +1300 |
---|---|---|
committer | Tim Beale <timbeale@samba.org> | 2019-01-23 03:09:41 +0100 |
commit | 4729c90f974bf6b11d9164cdcd819e6238eea08a (patch) | |
tree | 0d1cda3318eec94aa2cbb93dee8014ecc9381321 /script | |
parent | 36c42e6d629a0d4b0e5c60bdd68e08a8e60c477a (diff) | |
download | samba-4729c90f974bf6b11d9164cdcd819e6238eea08a.tar.gz |
traffic: rm --scale-traffic default value
-S, --scale--traffic defaults to 1.0
when we switch to new option -T, both -T and -S are set, which raise an error:
script/traffic_replay #234: --scale-traffic and --packets-per-second are incompatible. Use one or the other.
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Wed Jan 23 03:09:41 CET 2019 on sn-devel-144
Diffstat (limited to 'script')
-rwxr-xr-x | script/traffic_replay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/traffic_replay b/script/traffic_replay index 7174d246d3b..fab9a8ded26 100755 --- a/script/traffic_replay +++ b/script/traffic_replay @@ -78,7 +78,7 @@ def main(): model_group = optparse.OptionGroup(parser, 'Traffic Model Options', 'These options alter the traffic ' 'generated by the model') - model_group.add_option('-S', '--scale-traffic', type='float', default=1.0, + model_group.add_option('-S', '--scale-traffic', type='float', help=('Increase the number of conversations by ' 'this factor (or use -T)')) parser.add_option('-T', '--packets-per-second', type=float, |