Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.8 kB)

1 ad76b118 Dimitris Aragiorgis
MAX_CIDR_BLOCK = 21
2 ad76b118 Dimitris Aragiorgis
PUBLIC_USE_POOL = True
3 ad76b118 Dimitris Aragiorgis
DEFAULT_MAC_FILTERED_BRIDGE = '%COMMON_BRIDGE%'
4 ad76b118 Dimitris Aragiorgis
5 ad76b118 Dimitris Aragiorgis
CUSTOM_BRIDGED_BRIDGE = '%COMMON_BRIDGE%'
6 ad76b118 Dimitris Aragiorgis
7 ad76b118 Dimitris Aragiorgis
MAX_VMS_PER_USER = 5
8 ad76b118 Dimitris Aragiorgis
VMS_USER_QUOTA = {
9 ad76b118 Dimitris Aragiorgis
    'psomas@grnet.gr': 1000,
10 ad76b118 Dimitris Aragiorgis
    'cstavr@grnet.gr':1000,
11 ad76b118 Dimitris Aragiorgis
    'gmytil@cslab.ntua.gr': 20,
12 ad76b118 Dimitris Aragiorgis
    'ananos@cslab.ece.ntua.gr': 20,
13 ad76b118 Dimitris Aragiorgis
    'vkoukis@grnet.gr': 400
14 ad76b118 Dimitris Aragiorgis
}
15 ad76b118 Dimitris Aragiorgis
MAX_NETWORKS_PER_USER = 3
16 ad76b118 Dimitris Aragiorgis
NETWORKS_USER_QUOTA = { 'psomas@grnet.gr': 1000 }
17 ad76b118 Dimitris Aragiorgis
CPU_BAR_GRAPH_URL = 'https://%HOST%/stats/%s/cpu-bar.png'
18 ad76b118 Dimitris Aragiorgis
CPU_TIMESERIES_GRAPH_URL = 'https://%HOST%/stats/%s/cpu-ts.png'
19 ad76b118 Dimitris Aragiorgis
NET_BAR_GRAPH_URL = 'https://%HOST%/stats/%s/net-bar.png'
20 ad76b118 Dimitris Aragiorgis
NET_TIMESERIES_GRAPH_URL = 'https://%HOST%/stats/%s/net-ts.png'
21 ad76b118 Dimitris Aragiorgis
GANETI_DISK_TEMPLATES = ('blockdev', 'diskless', 'drbd', 'file', 'plain',
22 ad76b118 Dimitris Aragiorgis
                         'rbd',  'sharedfile', 'ext')
23 ad76b118 Dimitris Aragiorgis
ASTAKOS_URL = 'https://%ACCOUNTS%/im/authenticate'
24 ad76b118 Dimitris Aragiorgis
25 ad76b118 Dimitris Aragiorgis
SECRET_ENCRYPTION_KEY= "oEs0pt7Di1mkxA0P6FiK"
26 ad76b118 Dimitris Aragiorgis
27 ad76b118 Dimitris Aragiorgis
GANETI_CREATEINSTANCE_KWARGS = {
28 ad76b118 Dimitris Aragiorgis
    'os': 'snf-image+default',
29 ad76b118 Dimitris Aragiorgis
    'no_install': False,
30 ad76b118 Dimitris Aragiorgis
    'hvparams': {'kvm': {'serial_console': False},
31 ad76b118 Dimitris Aragiorgis
                 'xen-pvm': {},
32 ad76b118 Dimitris Aragiorgis
                 'xen-hvm': {}},
33 ad76b118 Dimitris Aragiorgis
    'wait_for_sync': False}
34 ad76b118 Dimitris Aragiorgis
35 ad76b118 Dimitris Aragiorgis
GANETI_USE_HOTPLUG = True
36 ad76b118 Dimitris Aragiorgis
CLOUDBAR_LOCATION = 'https://%ACCOUNTS%/static/im/cloudbar/'
37 ad76b118 Dimitris Aragiorgis
CLOUDBAR_ACTIVE_SERVICE = '2'
38 ad76b118 Dimitris Aragiorgis
CLOUDBAR_SERVICES_URL = 'https://%ACCOUNTS%/astakos/ui/get_services'
39 ad76b118 Dimitris Aragiorgis
CLOUDBAR_MENU_URL = 'https://%ACCOUNTS%/astakos/ui/get_menu'
40 ad76b118 Dimitris Aragiorgis
BACKEND_DB_CONNECTION = 'postgresql://%SYNNEFO_USER%:%SYNNEFO_DB_PASSWD%@%DB_NODE%:5432/snf_pithos'
41 ad76b118 Dimitris Aragiorgis
BACKEND_BLOCK_PATH = '%PITHOS_DIR%/data/'
42 ad76b118 Dimitris Aragiorgis
43 ad76b118 Dimitris Aragiorgis
AMQP_HOSTS = ["amqp://%SYNNEFO_USER%:%SYNNEFO_RABBITMQ_PASSWD%@%MQ_NODE%:5672"]
44 ad76b118 Dimitris Aragiorgis
45 ad76b118 Dimitris Aragiorgis
TIMEOUT = 60 * 1000
46 ad76b118 Dimitris Aragiorgis
UI_UPDATE_INTERVAL = 2000
47 ad76b118 Dimitris Aragiorgis
FEEDBACK_CONTACTS = (
48 ad76b118 Dimitris Aragiorgis
    ('feedback@%DOMAIN%', 'feedback@%DOMAIN%'),
49 ad76b118 Dimitris Aragiorgis
)
50 ad76b118 Dimitris Aragiorgis
UI_LOGIN_URL = "https://%ACCOUNTS%/im/login"
51 ad76b118 Dimitris Aragiorgis
UI_LOGOUT_URL = "https://%ACCOUNTS%/im/logout"
52 ad76b118 Dimitris Aragiorgis
UI_FLAVORS_DISK_TEMPLATES_INFO = {
53 ad76b118 Dimitris Aragiorgis
    'rbd': {'name': 'Rbd',
54 ad76b118 Dimitris Aragiorgis
           'description': 'Volumes residing inside a RADOS cluster'},
55 ad76b118 Dimitris Aragiorgis
56 ad76b118 Dimitris Aragiorgis
    'plain': {'name': 'Local',
57 ad76b118 Dimitris Aragiorgis
             'description': 'Fast, not high available local storage (LVM)'},
58 ad76b118 Dimitris Aragiorgis
59 ad76b118 Dimitris Aragiorgis
    'drbd': {'name': 'Standard',
60 ad76b118 Dimitris Aragiorgis
             'description': 'High available persistent storage (DRBD)'},
61 ad76b118 Dimitris Aragiorgis
62 ad76b118 Dimitris Aragiorgis
    'ext_vlmc': {'name': 'Tmp',
63 ad76b118 Dimitris Aragiorgis
                'description': 'Volatile storage'},
64 ad76b118 Dimitris Aragiorgis
}
65 ad76b118 Dimitris Aragiorgis
UI_SUPPORT_SSH_OS_LIST = ['debian', 'fedora', 'okeanos', 'ubuntu', 'kubuntu',
66 ad76b118 Dimitris Aragiorgis
                          'centos', 'archlinux', 'gentoo']
67 ad76b118 Dimitris Aragiorgis
UI_SYSTEM_IMAGES_OWNERS = {
68 ad76b118 Dimitris Aragiorgis
    'images@okeanos.io': 'system',
69 ad76b118 Dimitris Aragiorgis
}
70 ad76b118 Dimitris Aragiorgis
71 ad76b118 Dimitris Aragiorgis
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
72 ad76b118 Dimitris Aragiorgis
VMAPI_BASE_URL = 'https://%CYCLADES%/'
73 ad76b118 Dimitris Aragiorgis
74 ad76b118 Dimitris Aragiorgis
CYCLADES_SERVICE_TOKEN = "%CYCLADES_SERVICE_TOKEN%"
75 ad76b118 Dimitris Aragiorgis
76 ad76b118 Dimitris Aragiorgis
CYCLADES_USER_CATALOG_URL = 'https://%ACCOUNTS%/user_catalogs'
77 ad76b118 Dimitris Aragiorgis
# Set False if astakos & cyclades are on the same node
78 ad76b118 Dimitris Aragiorgis
CYCLADES_PROXY_USER_SERVICES = %PROXY%
79 ad76b118 Dimitris Aragiorgis
80 ad76b118 Dimitris Aragiorgis
UI_SYSTEM_IMAGES_OWNERS = {
81 ad76b118 Dimitris Aragiorgis
    'admin@synnefo.gr': 'system',
82 ad76b118 Dimitris Aragiorgis
    'images@synnefo.gr': 'system'
83 ad76b118 Dimitris Aragiorgis
}
84 ad76b118 Dimitris Aragiorgis
85 ad76b118 Dimitris Aragiorgis
CYCLADES_BASE_URL = 'https://%CYCLADES%/cyclades'