Revision 56f3c759 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        \https://<astakos.host>/im/authenticate/           Astakos Authentication URL
34
PITHOS_AUTHENTICATION_USERS      A dictionary of sample users (token to username)   Set to empty or None to disable
35
PITHOS_ASTAKOS_COOKIE_NAME       _pithos2_a                                         Cookie name to retrieve fallback token
30
===============================  ================================================================   ============================================================
31
Name                             Default value                                                      Description
32
===============================  ================================================================   ============================================================
33
PITHOS_AUTHENTICATION_URL        \https://<astakos.host>/im/authenticate/                           Astakos Authentication URL
34
PITHOS_AUTHENTICATION_USERS      A dictionary of sample users (token to username)                   Set to empty or None to disable
35
PITHOS_ASTAKOS_COOKIE_NAME       _pithos2_a                                                         Cookie name to retrieve fallback token
36 36
PITHOS_BACKEND_DB_MODULE         pithos.backends.lib.sqlalchemy
37
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                   SQLAlchemy database connection string
38
PITHOS_BACKEND_BLOCK_MODULE      pithos.backends.lib.hashfiler
39
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                  Map and block storage path
40
PITHOS_BACKEND_BLOCK_UMASK       0o022                                              Map and block storage umask
41
PITHOS_BACKEND_QUEUE_MODULE      None                                               Use ``pithos.backends.lib.rabbitmq`` to enable
42
PITHOS_BACKEND_QUEUE_HOSTS       None                                               Format like [``amqp://guest:guest@localhost:5672``
37
PITHOS_BACKEND_DB_CONNECTION     sqlite:////tmp/pithos-backend.db                                   SQLAlchemy database connection string
38
PITHOS_BACKEND_BLOCK_MODULE      pithos.backends.lib.hashfile
39
PITHOS_BACKEND_BLOCK_PATH        /tmp/pithos-data/                                                  Map and block storage path
40
PITHOS_BACKEND_BLOCK_UMASK       0o022                                                              Map and block storage umask
41
PITHOS_BACKEND_QUEUE_MODULE      None                                                               Use ``pithos.backends.lib.rabbitmq`` to enable
42
PITHOS_BACKEND_QUEUE_HOSTS       None                                                               Format like [``amqp://guest:guest@localhost:5672``
43 43
PITHOS_BACKEND_QUEUE_EXCHANGE    pithos
44
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                             Default user quota
45
PITHOS_BACKEND_VERSIONING        auto                                               Default versioning policy for containers
46
PITHOS_BACKEND_FREE_VERSIONING   True                                               Default versioning debit policy (default free)
47
PITHOS_UPDATE_MD5                True                                               Update object checksums when using hashmaps
48
PITHOS_SERVICE_TOKEN             ''                                                 Service token acquired by the identity provider (astakos)
49
PITHOS_RADOS_STORAGE             False                                              Enables or disables secondary Pithos storage on RADOS
50
PITHOS_RADOS_POOL_BLOCKS         None                                               RADOS pool to be used for block storage
51
PITHOS_RADOS_POOL_MAPS           None                                               RADOS pool to be used for maps storage
52
PITHOS_TRANSLATE_UUIDS           False                                              Enables a ui compatibility layer for the introduction of UUIDs in identity management.
53
PITHOS_PROXY_USER_SERVICES       True                                               Whether to proxy user feedback and catalog services
54
PITHOS_USER_CATALOG_URL          \https://<astakos.host>/user_catalogs/             Astakos User Catalog URL
55
PITHOS_USER_FEEDBACK_URL         \https://<astakos.host>/feedback/                  Astakos User Feedback URL
56
PITHOS_USER_LOGIN_URL            \https://<astakos.host>/login/                     Astakos User Login URL
57
PITHOS_USE_QUOTAHOLDER           True                                               Enable quotaholder
58
PITHOS_QUOTAHOLDER_URL           ''                                                 Quotaholder URL
59
PITHOS_QUOTAHOLDER_TOKEN         ''                                                 Quotaholder token
60
===============================  =================================================  ============================================================
44
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                                             Default user quota
45
PITHOS_BACKEND_VERSIONING        auto                                                               Default versioning policy for containers
46
PITHOS_BACKEND_FREE_VERSIONING   True                                                               Default versioning debit policy (default free)
47
PITHOS_UPDATE_MD5                True                                                               Update object checksums when using hashmaps
48
PITHOS_SERVICE_TOKEN             ''                                                                 Service token acquired by the identity provider (astakos)
49
PITHOS_RADOS_STORAGE             False                                                              Enables or disables secondary Pithos storage on RADOS
50
PITHOS_RADOS_POOL_BLOCKS         None                                                               RADOS pool to be used for block storage
51
PITHOS_RADOS_POOL_MAPS           None                                                               RADOS pool to be used for maps storage
52
PITHOS_TRANSLATE_UUIDS           False                                                              Enables a ui compatibility layer for the introduction of UUIDs in identity management.
53
PITHOS_PROXY_USER_SERVICES       True                                                               Whether to proxy user feedback and catalog services
54
PITHOS_USER_CATALOG_URL          \https://<astakos.host>/user_catalogs/                             Astakos User Catalog URL
55
PITHOS_USER_FEEDBACK_URL         \https://<astakos.host>/feedback/                                  Astakos User Feedback URL
56
PITHOS_USER_LOGIN_URL            \https://<astakos.host>/login/                                     Astakos User Login URL
57
PITHOS_USE_QUOTAHOLDER           True                                                               Enable quotaholder
58
PITHOS_QUOTAHOLDER_URL           ''                                                                 Quotaholder URL
59
PITHOS_QUOTAHOLDER_TOKEN         ''                                                                 Quotaholder token
60
PITHOS_PUBLIC_URL_MIN_LENGTH     8                                                                  Public URL minimun length
61
PITHOS_PUBLIC_URL_ALPHABET       '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'   Public URL alphabet
62
===============================  ================================================================   ============================================================
61 63

  
62 64
To update checksums asynchronously, enable the queue, install snf-pithos-tools and use ``pithos-dispatcher``::
63 65

  

Also available in: Unified diff