diff options
author | Darrell Bishop <darrell@swiftstack.com> | 2013-06-28 21:26:54 -0700 |
---|---|---|
committer | Darrell Bishop <darrell@swiftstack.com> | 2013-07-05 14:12:59 -0500 |
commit | 1d4d51b218ed14b85d1e46d3e7142fb52ea179d5 (patch) | |
tree | 1fdbf15ee1f10c10a72fc4d49d6e27addc19de89 /doc/source | |
parent | 6f7458a2903f6be2bf3271825e837d30b4e9f737 (diff) | |
download | python-swiftclient-1d4d51b218ed14b85d1e46d3e7142fb52ea179d5.tar.gz |
Allow storage url override for both auth vers.
When --os-storage-url is specified on the command-line to bin/swift, it
will override the used storage URL regardless of authentication for both
authentication version 1 and version 2. This can be used to bypass a
load-balancer to hit a specific proxy server for testing/debugging
purposes.
Within the client library, this feature is accessed by passing the
desired storage URL into swiftclient.client.Conection.__init__() via the
os_options keyword argument. For example:
conn = Connection(auth_url, user, key, os_options={
'object_storage_url': 'http://overridden.storage.url/AUTH_foo'})
This patch also adds a dependency on mock>=0.8.0, which is the same as
openstack/swift.
Change-Id: Id2a36ed6abffd65e7762b6beea5bbfc6c036e848
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst index 9370236..55ec112 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1,7 +1,7 @@ SwiftClient Web *************** - Copyright 2012 OpenStack, LLC. + Copyright 2013 OpenStack, LLC. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |