Peter Portante a574805398 Bring initial DiskDir module coverage to 97%.
This is quite ugly. Sorry. We ported a set of test from OpenStack
Swift's test/unit/commont/test_db.py, the testAccountBroker and
testContainerBroker, but because of the divergent nature of the
current attempt UFO (Unified File and Object) implementation, it was
not possible to use the interface calls directly.

Instead, we are using these tests to make sure most of the code paths
are exercised, and to define much of the expected behavior. Further
refactoring, unit tests and functional test work will help us bring
the code base and these tests closer to the originals in upstream
OpenStack Swift (as of Havana).

Change-Id: I095bb03619de6e7e1378b5252913e39b1ea8bf27
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/5135
Reviewed-by: Luis Pabon <lpabon@redhat.com>
Tested-by: Luis Pabon <lpabon@redhat.com>
2013-06-03 14:01:29 -07:00
2013-05-17 04:36:41 -07:00
2013-05-17 04:36:41 -07:00
2013-05-17 04:36:41 -07:00
2013-05-17 04:36:41 -07:00

Gluster For Swift - Integrating GlusterFS with OpenStack Swift Implementation
of the Swift API. This is a component of the Unified File and Object (UFO)
story for GlusterFS, which allows files and directories created via
gluster-native/nfs/samba mount(s) to be accessed as accounts, containers and
objects.

Install
  * yum install openstack-swift*.noarch
  * yum install gluster-swift-1.3*.noarch

Once this is done, you can access GlusterFS volumes via the Swift API where
accounts are mounted volumes (today), containers are top-level directories,
and objects are files and sub-directories of container directories.

Command to start the servers (TBD)
  swift-init main start

Command to stop the servers (TBD)
  swift-init main stop

Command to gracefully reload the servers
  swift-init main reload

Building RPMs.  RPMs will be located in the 'build' directory.
  $ bash makerpm.sh

Building RPM with a specific release value, useful for automatic Jenkin builds
  $ PROG_RELEASE=123 bash makerpm.sh
Description
Swift Object Server implementation that enables objects created using the Swift API to be accessed as files on a High Performance Storage System (HPSS) mount point.
Readme 1.2 MiB
Languages
Python 99%
Shell 0.7%
RPM Spec 0.3%