Revision c700f742 snf-pithos-app/README

b/snf-pithos-app/README
27 27

  
28 28
Configure in ``settings.py`` or a ``.conf`` file in ``/etc/synnefo`` if using snf-webproject.
29 29

  
30
===============================  ================================================  ============================================================
31
Name                             Default value                                     Description
32
===============================  ================================================  ============================================================
33
PITHOS_AUTHENTICATION_URL        \http://127.0.0.1:8000/im/authenticate            Astakos API URL
34
PITHOS_AUTHENTICATION_USERS      A dictionary of sample users (token to username)  Set to empty or None to disable
30
===============================  ==================================================     ============================================================
31
Name                             Default value                                          Description
32
===============================  ==================================================     ============================================================
33
PITHOS_ASTAKOS_URL               \http://127.0.0.1:8000/im/                             Astakos API URL
34
PITHOS_AUTHENTICATION_URL        \http://127.0.0.1:8000/im/authenticate/                Astakos Authentication URL
35
PITHOS_USER_INFO_URL             \http://127.0.0.1:8000/im/service/api/v2.0/users/      Astakos User Information URL
36
PITHOS_AUTHENTICATION_USERS      A dictionary of sample users (token to username)       Set to empty or None to disable
35 37
PITHOS_BACKEND_DB_MODULE         pithos.backends.lib.sqlalchemy
36
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                  SQLAlchemy database connection string
38
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                       SQLAlchemy database connection string
37 39
PITHOS_BACKEND_BLOCK_MODULE      pithos.backends.lib.hashfiler
38
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                 Map and block storage path
39
PITHOS_BACKEND_BLOCK_UMASK       0o022                                             Map and block storage umask
40
PITHOS_BACKEND_QUEUE_MODULE      None                                              Use ``pithos.backends.lib.rabbitmq`` to enable
41
PITHOS_BACKEND_QUEUE_HOSTS       None                                              Format like [``amqp://guest:guest@localhost:5672``
40
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                      Map and block storage path
41
PITHOS_BACKEND_BLOCK_UMASK       0o022                                                  Map and block storage umask
42
PITHOS_BACKEND_QUEUE_MODULE      None                                                   Use ``pithos.backends.lib.rabbitmq`` to enable
43
PITHOS_BACKEND_QUEUE_HOSTS       None                                                   Format like [``amqp://guest:guest@localhost:5672``
42 44
PITHOS_BACKEND_QUEUE_EXCHANGE    pithos
43
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                            Default user quota
44
PITHOS_BACKEND_VERSIONING        auto                                              Default versioning policy for containers
45
PITHOS_BACKEND_FREE_VERSIONING   True                                              Default versioning debit policy (default free)
46
PITHOS_UPDATE_MD5                True                                              Update object checksums when using hashmaps
47
PITHOS_SERVICE_TOKEN             ''                                                Service token acquired by the identity provider (astakos)
48
===============================  ================================================  ============================================================
45
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                                 Default user quota
46
PITHOS_BACKEND_VERSIONING        auto                                                   Default versioning policy for containers
47
PITHOS_BACKEND_FREE_VERSIONING   True                                                   Default versioning debit policy (default free)
48
PITHOS_UPDATE_MD5                True                                                   Update object checksums when using hashmaps
49
PITHOS_SERVICE_TOKEN             ''                                                     Service token acquired by the identity provider (astakos)
50
===============================  ==================================================     ============================================================
49 51

  
50 52
To update checksums asynchronously, enable the queue, install snf-pithos-tools and use ``pithos-dispatcher``::
51 53

  

Also available in: Unified diff