Revision 6a7c88d7
b/snf-cyclades-app/synnefo/app_settings/default/__init__.py | ||
---|---|---|
41 | 41 |
from synnefo.app_settings.default.reconciliation import * |
42 | 42 |
from synnefo.app_settings.default.tests import * |
43 | 43 |
from synnefo.app_settings.default.cloudbar import * |
44 |
|
|
44 |
from synnefo.app_settings.default.quotas import * |
b/snf-cyclades-app/synnefo/app_settings/default/api.py | ||
---|---|---|
71 | 71 |
ARCHIPELAGOS_BACKENDS = [] |
72 | 72 |
|
73 | 73 |
# Quota |
74 |
# |
|
75 |
# Set to True to use the Quotaholder service. Otherwise, static |
|
76 |
# limits are used |
|
77 |
CYCLADES_USE_QUOTAHOLDER = False |
|
78 | 74 |
# Maximum number of VMs a user is allowed to have. |
79 | 75 |
MAX_VMS_PER_USER = 3 |
80 | 76 |
|
b/snf-cyclades-app/synnefo/app_settings/default/quotas.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
# |
3 |
# API configuration
|
|
3 |
# QUOTAHOLDER configuration
|
|
4 | 4 |
##################### |
5 | 5 |
|
6 | 6 |
# URL of the Quotaholder |
7 |
CYCLADES_QUOTAHOLDER_URL = "http://127.0.0.1:8008/api/quotaholder/v" |
|
8 | 7 |
# |
8 |
# |
|
9 |
# Set to True to use the Quotaholder service. Otherwise, static |
|
10 |
# limits are used |
|
11 |
CYCLADES_USE_QUOTAHOLDER = False |
|
12 |
|
|
13 |
CYCLADES_QUOTAHOLDER_URL = "http://127.0.0.1:8008/api/quotaholder/v" |
|
14 |
|
|
9 | 15 |
CYCLADES_QUOTAHOLDER_TOKEN = "" |
Also available in: Unified diff