diff options
author | François Charlier <francois.charlier@enovance.com> | 2012-06-11 19:29:32 +0200 |
---|---|---|
committer | François Charlier <francois.charlier@enovance.com> | 2012-06-11 19:29:32 +0200 |
commit | aafb98212a0ee01601d223038cb2193208681236 (patch) | |
tree | a87c866f61640ee903ee17eb544ea7b91a67b5d7 /bin/swift-bench | |
parent | 4dbcdf247d8a0409da328af34281e5fbaa3b45c3 (diff) | |
download | swift-bench-aafb98212a0ee01601d223038cb2193208681236.tar.gz |
swift-bench should be able to use auth version 2.0
Fixes Bug #1011727
Change-Id: I6681bd85a5ddb82a1059913ae90696e5994aa906
Diffstat (limited to 'bin/swift-bench')
-rwxr-xr-x | bin/swift-bench | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/swift-bench b/bin/swift-bench index e5b6bb4..3a1e1fe 100755 --- a/bin/swift-bench +++ b/bin/swift-bench @@ -46,6 +46,7 @@ CONF_DEFAULTS = { 'devices': 'sdb1', 'log_level': 'INFO', 'timeout': '10', + 'auth_version': '1.0', } SAIO_DEFAULTS = { @@ -67,6 +68,7 @@ if __name__ == '__main__': num_objects = 1000 num_gets = 10000 delete = yes + auth_version = 1.0 """ parser = OptionParser(usage=usage) parser.add_option('', '--saio', dest='saio', action='store_true', @@ -89,6 +91,8 @@ if __name__ == '__main__': help='Number of GET operations to perform') parser.add_option('-x', '--no-delete', dest='delete', action='store_false', help='If set, will not delete the objects created') + parser.add_option('-V', '--auth_version', dest='auth_version', + help='Authentication version') if len(sys.argv) == 1: parser.print_help() |