Skip to content

AymericDu/oio-swift

 
 

Repository files navigation

oioswift

OpenIO SDS Swift Gateway.

Build Status Codecov

Features

Included:

  • Operations on objects, containers and accounts
  • Authentication support
  • Metadata support
  • Swift Middleware support

Installation

If you want to work with the current development version you can:

You can install directly from trunk on GitHub:

pip install git+git://github.com/open-io/oio-swift.git

Download and install from source by running:

python setup.py install

Note that at least swift 2.7.0 is required.

Updates

From GitHub:

pip install --upgrade git+git://github.com/open-io/oio-swift.git

Configuration

The SDS Swift Gateway uses the OpenStack Swift Proxy.

There is a sample configuration in conf/default.cfg.

Configuration items:

  • sds_namespace - the SDS Namespace to serve. Example: OPENIO
  • sds_proxy_url - the URL of the SDS proxy. Example: http://127.0.0.1:6000

Run

Use the proxy-server launch script from Swift.

Alternatively you can simply use:

# for development only
python runserver.py

Links

Resources:

About

OpenIO SDS Swift Gateway

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 79.3%
  • Shell 20.3%
  • Lua 0.4%