Statistics
| Branch: | Tag: | Revision:

root / settings.d / 10-backend.conf @ 5039a44f

History | View | Annotate | Download (1.2 kB)

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

    
6
# The RAPI endpoint and associated credentials to use
7
# for talking to the Ganeti backend.
8
GANETI_MASTER_IP = "62.217.120.78"
9
GANETI_CLUSTER_INFO = (GANETI_MASTER_IP, 5080, "synnefo", "ocean!")
10

    
11
# This prefix gets used when determining the instance names
12
# of Synnefo VMs at the Ganeti backend.
13
# The dash must always appear in the name!
14
BACKEND_PREFIX_ID = "snf-"
15

    
16
# The following dictionary defines deployment-specific
17
# arguments to the RAPI CreateInstance call.
18
# At a minimum it should contain the
19
# 'disk_template', 'os_provider', and 'hvparams' keys.
20
#
21
# More specifically:
22
# a) disk_template:
23
#    The disk template to use when creating the instance.
24
#    Suggested values: 'plain', or 'drbd'.
25
# b) os:
26
#    The OS provider to use (customized Ganeti Instance Image)
27
# c) hvparams:
28
#    Hypervisor-specific parameters (serial_console = False, see #785)
29
# d) If using the DRBD disk_template, you may want to include
30
#    wait_for_sync = False (see #835).
31
#
32
GANETI_CREATEINSTANCE_KWARGS = {
33
    'disk_template': 'drbd',
34
    'os': 'image+default',
35
    'hvparams': {'serial_console': False},
36
    'wait_for_sync': False}