GoogleCloudPlatform / gsutil

A command line tool for interacting with cloud storage services.
Apache License 2.0
875 stars 336 forks source link

openstack swift / rackspace cloud files support #133

Open asw101 opened 11 years ago

asw101 commented 11 years ago

i love the fact that gsutil is so easy to install (xcopy deployable), multi-platform (windows install isn't an afterthought) and multi-cloud (you support s3). i have customers who use it for s3 and discover plenty of things they prefer google's cloud storage for.

it is common that people want to replicate their storage across more than one provider. they don't want to use different tools for it. neither do they want to use an s3 tool that only has half-hearted support for another platform.

to that end, would you consider supporting openstack swift / rackspace cloud files? this would be a huge feather in gsutil's cap (it will give you access to hp, softlayer and ibm clouds too). i believe it would make gsutil the de-facto multi-cloud command line tool for cloud blob storage.

i'd really like to elaborate on this more, but i don't want to bore anyone. i'd rather see this native to gsutil than a fork. openstack / rackspace cloud files has an excellent json api (http://docs.rackspace.com/files/api/v1/cf-devguide/ ). unfortunately it's not part of boto (yet), but there are plenty of other python clients (swift itself is python). the api is clean and easy to implement. i've put together a simple single-file module that covers most of the api calls utilizing python requests. i'm not averse to contributing code to help this happen.

mfschwartz commented 11 years ago

Hi,

Thanks for suggesting this. We would be interested in adding openstack swift / rackspace support to gsutil. A few thoughts:

  1. I think the right way to do this is to implement a new StorageUri subclass.
  2. Are you able to sign the Contributor License Agreement? Google requires this for code contributions. Please see details at https://developers.google.com/storage/docs/gsutil/addlhelp/Contributing
  3. I'd be interested in hearing the additional thoughts you offered to elaborate on this implementation.

Thanks,

Mike

GeorgeforChina commented 6 years ago

hi ,can we install a cluster server of swift base not of install openstack ,if can ,please share about it . thanks ! ps: Has try one week ,not success.SAIO it’s ok .