Create README.rst
This commit is contained in:
26
swift-filer/README.rst
Normal file
26
swift-filer/README.rst
Normal file
@@ -0,0 +1,26 @@
|
||||
Author(s): Fabien Boucher <fabien.boucher@enovance.com>
|
||||
|
||||
This script aims to fill in a swift cluster with random
|
||||
data.
|
||||
A custom amount of account will be created against keystone
|
||||
then many containers and object will be pushed to that account.
|
||||
Accounts and objects will be flavored with some meta data.
|
||||
|
||||
Two index will be pickled to FS to store first which account has been
|
||||
created (index_path) and second which containers/objects + MD5 and meta data
|
||||
has been stored.
|
||||
|
||||
This script use eventlet to try to speedup the most
|
||||
the fill in process.
|
||||
|
||||
Usage:
|
||||
|
||||
python swift-filer.py --create -a 10 -u 1 -f 5 -c 2 -s 5000 -l
|
||||
The above command will create 10 accounts with one user in each (in keystone)
|
||||
then 2 containers will be created with 5 files in each. Each file will
|
||||
be generated with a size between 1024 Bytes to 5000 Bytes.
|
||||
|
||||
python swift-filer.py --delete
|
||||
Read pickled index file (index_path) to process a deletion
|
||||
of objects/containers store in swift for each account then delete
|
||||
accounts.
|
||||
Reference in New Issue
Block a user