oioswift

OpenIO Swift Gateway


Keywords
openio, openio-sds, openstack, openstack-swift, python, swift
License
Apache-2.0
Install
pip install oioswift==0.5.0

Documentation

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: