oio-swift icon indicating copy to clipboard operation
oio-swift copied to clipboard

Openio flavor of the Openstack Swift Gateway and middlewares, allowing access to OpenIO SDS via an Openstack Swift gateway.

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: