Stoxy Server 0.1-41-gdc5b documentation

OpenStack Swift backend

«  Using Stoxy   ::   Contents   ::   Upgrading Stoxy  »

OpenStack Swift backend

Introduction

Stoxy can serve as a CDMI interface to a remote OpenStack Swift service. The top level flow is as follows:

  1. A new container is created.
  2. Container’s metadata field is set with the swift backend and the base url values:
    • stoxy_backend: swift
    • stoxy_backend_base_protocol: https://swift.example.org:port/v1/AUTH_df37f5b1ebc94604964c2854b9c0551f
  3. For the data objects value modifications operations inside the container, the commands will be propagated to the OpenStack Swift storage (saving, loading, deleting).

NB! Usage of the swift backend assumes that OpenStack authentication token is passed in the X-Auth-Token header of the request.

Example of usage

An example of creating a Swift-backed container and executing basic data object operations is shown in the swift_tests.

«  Using Stoxy   ::   Contents   ::   Upgrading Stoxy  »