Statistics
| Branch: | Revision:

root / snfOCCI / config.py @ f25a4623

History | View | Annotate | Download (2 kB)

1 f25a4623 nasia
# Copyright 2012-2013 GRNET S.A. All rights reserved.
2 f25a4623 nasia
#
3 f25a4623 nasia
# Redistribution and use in source and binary forms, with or
4 f25a4623 nasia
# without modification, are permitted provided that the following
5 f25a4623 nasia
# conditions are met:
6 f25a4623 nasia
#
7 f25a4623 nasia
#   1. Redistributions of source code must retain the above
8 f25a4623 nasia
#     copyright notice, this list of conditions and the following
9 f25a4623 nasia
#     disclaimer.
10 f25a4623 nasia
#
11 f25a4623 nasia
#   2. Redistributions in binary form must reproduce the above
12 f25a4623 nasia
#     copyright notice, this list of conditions and the following
13 f25a4623 nasia
#     disclaimer in the documentation and/or other materials
14 f25a4623 nasia
#     provided with the distribution.
15 f25a4623 nasia
#
16 f25a4623 nasia
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 f25a4623 nasia
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 f25a4623 nasia
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 f25a4623 nasia
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 f25a4623 nasia
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 f25a4623 nasia
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 f25a4623 nasia
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 f25a4623 nasia
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 f25a4623 nasia
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 f25a4623 nasia
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 f25a4623 nasia
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 f25a4623 nasia
# POSSIBILITY OF SUCH DAMAGE.
28 f25a4623 nasia
#
29 f25a4623 nasia
# The views and conclusions contained in the software and
30 f25a4623 nasia
# documentation are those of the authors and should not be
31 f25a4623 nasia
# interpreted as representing official policies, either expressed
32 f25a4623 nasia
# or implied, of GRNET S.A.
33 f25a4623 nasia
34 d7dfc401 John Giannelos
SERVER_CONFIG = {
35 d7dfc401 John Giannelos
    'port': 8888,
36 fe35958e nasia
    'hostname': '$vm_hostname$',
37 fe35958e nasia
    'compute_arch': 'x86'
38 d7dfc401 John Giannelos
    }
39 d7dfc401 John Giannelos
40 088e4262 John Giannelos
KAMAKI_CONFIG = {
41 fe35958e nasia
    'compute_url': 'https://cyclades.okeanos.grnet.gr/compute/v2.0/',
42 fe35958e nasia
    'astakos_url': 'https://accounts.okeanos.grnet.gr/identity/v2.0/'
43 088e4262 John Giannelos
}
44 d7dfc401 John Giannelos
        
45 fe35958e nasia
VOMS_CONFIG = {
46 fe35958e nasia
    'enable_voms' : 'True',           
47 fe35958e nasia
    'voms_policy' : '/etc/snf/voms.json',
48 fe35958e nasia
    'vomsdir_path' : '/etc/grid-security/vomsdir/',
49 fe35958e nasia
    'ca_path': '/etc/grid-security/certificates/',
50 fe35958e nasia
    'cert_dir' : '/etc/ssl/certs/',
51 fe35958e nasia
    'key_dir' : '/etc/ssl/private/'               
52 fe35958e nasia
}