Revision fe3d6077 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_PROXY_USER_SERVICES       True                                                   Whether to proxy user feedback and catalog services
34
PITHOS_USER_CATALOG_URL          \http://<astakos.host>/im/service/api/v2.0/users/      Astakos User Catalog URL
35
PITHOS_USER_FEEDBACK_URL         \http://<astakos.host>/im/service/api/v2.0/feedback/   Astakos User Feedback URL
36
PITHOS_USER_LOGIN_URL            \http://<astakos.host>/login/                          Astakos User Login URL
37
PITHOS_AUTHENTICATION_URL        \http://<astakos.host>/im/authenticate/                Astakos Authentication URL
38
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

  
34
PITHOS_PROXY_USER_SERVICES       True                                               Whether to proxy user feedback and catalog services
35
PITHOS_USER_CATALOG_URL          \https://<astakos.host>/user_catalogs/             Astakos User Catalog URL
36
PITHOS_USER_FEEDBACK_URL         \https://<astakos.host>/feedback/                  Astakos User Feedback URL
37
PITHOS_USER_LOGIN_URL            \https://<astakos.host>/login/                     Astakos User Login URL
38
PITHOS_AUTHENTICATION_URL        \https://<astakos.host>/im/authenticate/           Astakos Authentication URL
39
PITHOS_AUTHENTICATION_USERS      A dictionary of sample users (token to username)   Set to empty or None to disable
39 40
PITHOS_BACKEND_DB_MODULE         pithos.backends.lib.sqlalchemy
40
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                       SQLAlchemy database connection string
41
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                   SQLAlchemy database connection string
41 42
PITHOS_BACKEND_BLOCK_MODULE      pithos.backends.lib.hashfiler
42
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                      Map and block storage path
43
PITHOS_BACKEND_BLOCK_UMASK       0o022                                                  Map and block storage umask
44
PITHOS_BACKEND_QUEUE_MODULE      None                                                   Use ``pithos.backends.lib.rabbitmq`` to enable
45
PITHOS_BACKEND_QUEUE_HOSTS       None                                                   Format like [``amqp://guest:guest@localhost:5672``
43
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                  Map and block storage path
44
PITHOS_BACKEND_BLOCK_UMASK       0o022                                              Map and block storage umask
45
PITHOS_BACKEND_QUEUE_MODULE      None                                               Use ``pithos.backends.lib.rabbitmq`` to enable
46
PITHOS_BACKEND_QUEUE_HOSTS       None                                               Format like [``amqp://guest:guest@localhost:5672``
46 47
PITHOS_BACKEND_QUEUE_EXCHANGE    pithos
47
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                                 Default user quota
48
PITHOS_BACKEND_VERSIONING        auto                                                   Default versioning policy for containers
49
PITHOS_BACKEND_FREE_VERSIONING   True                                                   Default versioning debit policy (default free)
50
PITHOS_UPDATE_MD5                True                                                   Update object checksums when using hashmaps
51
PITHOS_SERVICE_TOKEN             ''                                                     Service token acquired by the identity provider (astakos)
52
PITHOS_RADOS_STORAGE             False                                                  Enables or disables secondary Pithos storage on RADOS
53
PITHOS_RADOS_POOL_BLOCKS         None                                                   RADOS pool to be used for block storage
54
PITHOS_RADOS_POOL_MAPS           None                                                   RADOS pool to be used for maps storage
55
===============================  ==================================================     ============================================================
48
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                             Default user quota
49
PITHOS_BACKEND_VERSIONING        auto                                               Default versioning policy for containers
50
PITHOS_BACKEND_FREE_VERSIONING   True                                               Default versioning debit policy (default free)
51
PITHOS_UPDATE_MD5                True                                               Update object checksums when using hashmaps
52
PITHOS_SERVICE_TOKEN             ''                                                 Service token acquired by the identity provider (astakos)
53
PITHOS_RADOS_STORAGE             False                                              Enables or disables secondary Pithos storage on RADOS
54
PITHOS_RADOS_POOL_BLOCKS         None                                               RADOS pool to be used for block storage
55
PITHOS_RADOS_POOL_MAPS           None                                               RADOS pool to be used for maps storage
56
===============================  =================================================  ============================================================
56 57

  
57 58
To update checksums asynchronously, enable the queue, install snf-pithos-tools and use ``pithos-dispatcher``::
58 59

  

Also available in: Unified diff