Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / files / etc / synnefo / cyclades.conf @ 21b14236

History | View | Annotate | Download (2.8 kB)

1
MAX_CIDR_BLOCK = 21
2
PUBLIC_USE_POOL = True
3
DEFAULT_MAC_FILTERED_BRIDGE = '%COMMON_BRIDGE%'
4

    
5
CUSTOM_BRIDGED_BRIDGE = '%COMMON_BRIDGE%'
6

    
7
MAX_VMS_PER_USER = 5
8
VMS_USER_QUOTA = {
9
    'psomas@grnet.gr': 1000,
10
    'cstavr@grnet.gr':1000,
11
    'gmytil@cslab.ntua.gr': 20,
12
    'ananos@cslab.ece.ntua.gr': 20,
13
    'vkoukis@grnet.gr': 400
14
}
15
MAX_NETWORKS_PER_USER = 3
16
NETWORKS_USER_QUOTA = { 'psomas@grnet.gr': 1000 }
17
CPU_BAR_GRAPH_URL = 'https://%HOST%/stats/%s/cpu-bar.png'
18
CPU_TIMESERIES_GRAPH_URL = 'https://%HOST%/stats/%s/cpu-ts.png'
19
NET_BAR_GRAPH_URL = 'https://%HOST%/stats/%s/net-bar.png'
20
NET_TIMESERIES_GRAPH_URL = 'https://%HOST%/stats/%s/net-ts.png'
21
GANETI_DISK_TEMPLATES = ('blockdev', 'diskless', 'drbd', 'file', 'plain',
22
                         'rbd',  'sharedfile', 'ext')
23
ASTAKOS_URL = 'https://%ACCOUNTS%/im/authenticate'
24

    
25
SECRET_ENCRYPTION_KEY= "oEs0pt7Di1mkxA0P6FiK"
26

    
27
GANETI_CREATEINSTANCE_KWARGS = {
28
    'os': 'snf-image+default',
29
    'no_install': False,
30
    'hvparams': {'kvm': {'serial_console': False},
31
                 'xen-pvm': {},
32
                 'xen-hvm': {}},
33
    'wait_for_sync': False}
34

    
35
GANETI_USE_HOTPLUG = True
36
CLOUDBAR_LOCATION = 'https://%ACCOUNTS%/static/im/cloudbar/'
37
CLOUDBAR_ACTIVE_SERVICE = '2'
38
CLOUDBAR_SERVICES_URL = 'https://%ACCOUNTS%/astakos/ui/get_services'
39
CLOUDBAR_MENU_URL = 'https://%ACCOUNTS%/astakos/ui/get_menu'
40
BACKEND_DB_CONNECTION = 'postgresql://%SYNNEFO_USER%:%SYNNEFO_DB_PASSWD%@%DB_NODE%:5432/snf_pithos'
41
BACKEND_BLOCK_PATH = '%PITHOS_DIR%/data/'
42

    
43
AMQP_HOSTS = ["amqp://%SYNNEFO_USER%:%SYNNEFO_RABBITMQ_PASSWD%@%MQ_NODE%:5672"]
44

    
45
TIMEOUT = 60 * 1000
46
UI_UPDATE_INTERVAL = 2000
47
FEEDBACK_CONTACTS = (
48
    ('feedback@%DOMAIN%', 'feedback@%DOMAIN%'),
49
)
50
UI_LOGIN_URL = "https://%ACCOUNTS%/im/login"
51
UI_LOGOUT_URL = "https://%ACCOUNTS%/im/logout"
52
UI_FLAVORS_DISK_TEMPLATES_INFO = {
53
    'rbd': {'name': 'Rbd',
54
           'description': 'Volumes residing inside a RADOS cluster'},
55

    
56
    'plain': {'name': 'Local',
57
             'description': 'Fast, not high available local storage (LVM)'},
58

    
59
    'drbd': {'name': 'Standard',
60
             'description': 'High available persistent storage (DRBD)'},
61

    
62
    'ext_vlmc': {'name': 'Tmp',
63
                'description': 'Volatile storage'},
64
}
65
UI_SUPPORT_SSH_OS_LIST = ['debian', 'fedora', 'okeanos', 'ubuntu', 'kubuntu',
66
                          'centos', 'archlinux', 'gentoo']
67
UI_SYSTEM_IMAGES_OWNERS = {
68
    'images@okeanos.io': 'system',
69
}
70

    
71
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
72
VMAPI_BASE_URL = 'https://%CYCLADES%/'
73

    
74
CYCLADES_SERVICE_TOKEN = "%CYCLADES_SERVICE_TOKEN%"
75

    
76
CYCLADES_USER_CATALOG_URL = 'https://%ACCOUNTS%/user_catalogs'
77
# Set False if astakos & cyclades are on the same node
78
CYCLADES_PROXY_USER_SERVICES = %PROXY%
79

    
80
UI_SYSTEM_IMAGES_OWNERS = {
81
    'admin@synnefo.gr': 'system',
82
    'images@synnefo.gr': 'system'
83
}
84

    
85
CYCLADES_BASE_URL = 'https://%CYCLADES%/cyclades'