Statistics
| Branch: | Tag: | Revision:

root / snf-app / synnefo / settings / common / plankton.py @ 921355f8

History | View | Annotate | Download (837 Bytes)

1
# -*- coding: utf-8 -*-
2
#
3
# Plankton configuration
4
########################
5

    
6
from os.path import join
7

    
8
PITHOS_ROOT = '/usr/share/pithos'
9
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy'
10
BACKEND_DB_CONNECTION = 'sqlite:///' + join(PITHOS_ROOT, 'backend.db')
11
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler'
12
BACKEND_BLOCK_PATH = join(PITHOS_ROOT, 'data/')
13

    
14
# Default setting for new accounts.
15
DEFAULT_QUOTA = 50 * 1024 * 1024 * 1024
16
DEFAULT_VERSIONING = 'auto'
17

    
18
PITHOS_IMAGE_CONTAINER = 'images'
19

    
20
ALLOWED_DISK_FORMATS = ('diskdump', 'dump', 'extdump', 'lvm', 'ntfsclone',
21
        'ntfsdump')
22
ALLOWED_CONTAINER_FORMATS = ('aki', 'ari', 'ami', 'bare', 'ovf')
23

    
24
DEFAULT_DISK_FORMAT = 'dump'
25
DEFAULT_CONTAINER_FORMAT = 'bare'
26

    
27
# The owner of the images that will be marked as "system images" by the UI
28
SYSTEM_IMAGES_OWNER = 'okeanos'