Renaming.
This commit is contained in:
parent
98e4227d47
commit
d599352886
|
@ -1,4 +1,4 @@
|
|||
swift-filer.py
|
||||
swift-filler.py
|
||||
==============
|
||||
|
||||
Author(s): Fabien Boucher <fabien.boucher@enovance.com>
|
||||
|
@ -25,7 +25,7 @@ Usage
|
|||
|
||||
To fill the cluster ::
|
||||
|
||||
python swift-filer.py --create -a 10 -u 1 -f 5 -c 2 -s 5000 -l
|
||||
python swift-filler.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
|
||||
|
@ -33,7 +33,7 @@ be generated with a size between 1024 Bytes to 5000 Bytes.
|
|||
|
||||
To delete data ::
|
||||
|
||||
python swift-filer.py --delete
|
||||
python swift-filler.py --delete
|
||||
|
||||
Read pickled index file (index_path) to process a deletion
|
||||
of objects/containers store in swift for each account then delete
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
#
|
||||
# Usage:
|
||||
#
|
||||
# python swift-filer.py --create -a 10 -u 1 -f 5 -c 2 -s 5000 -l
|
||||
# python swift-filler.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
|
||||
# python swift-filler.py --delete
|
||||
# Read pickled index file (index_path) to process a deletion
|
||||
# of objects/containers store in swift for each account then delete
|
||||
# accounts.
|
||||
|
@ -54,8 +54,8 @@ swift_operator_role = 'Member'
|
|||
|
||||
default_user_password = 'password'
|
||||
default_user_email = 'johndoe@domain.com'
|
||||
index_path = '/tmp/swift_filer_index.pkl'
|
||||
index_containers_path = '/tmp/swift_filer_containers_index.pkl'
|
||||
index_path = '/tmp/swift_filler_index.pkl'
|
||||
index_containers_path = '/tmp/swift_filler_containers_index.pkl'
|
||||
|
||||
|
||||
def get_rand_str(mode='user'):
|
Loading…
Reference in New Issue