Python Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
oioswift
tests
third_party
.gitignore
.gitmodules
.travis.yml
HISTORY.md
LICENSE.txt
README.md
oio-check-version.sh
runserver.py
setup.py
test
test-requirements.txt

README.md

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: