Updates README and other documentation fixes

This commit is contained in:
Joe H. Rahme 2013-06-11 09:28:00 +02:00
parent 0144024269
commit f50cd083ed
3 changed files with 13 additions and 6 deletions

View File

@ -162,6 +162,14 @@ first pass goes well, if for example there is network failure swsync will
just skip it and hope to do it on the next run. So the tool can for instance
be launched by a cron job to perform diff synchronization each night.
Tenant Filter File
------------------
It is possible to limit the migration to a subset of the total number of
tenants, by uncommenting the field "tenant_filter_file". This field should
hold the path to a file containing a list of tenant names to migrate, one
per line. If left commented, swsync will migrate all the tenants.
Swift Middleware last-modified
------------------------------

View File

@ -23,7 +23,6 @@ filler_swift_client_concurrency = 10
sync_swift_client_concurrency = 10
[sync]
# This fields holds the path the a file containing the list of tenant ids to
# migrate. If this field is left blank or commented out, swsync will migrate all
# the tenants.
tenant_filter_file =
# Uncomment this field to designate a file containing a list of tenant names
# to be migrated. If left commented, all the tenants will be targeted.
# tenant_filter_file = etc/tenants.list

View File

@ -21,8 +21,8 @@
# to synchronize the destination swift must own the ResellerAdmin role in
# keystone.
#
# You must also create a file containing the list of users to migrate and
# specify this file in your config.ini file.
# In your config.ini file, you should uncomment the field tenant_filter_file
# and specify a path to a file where you're allowed to read and write.
import eventlet
import random