Revision 68a81d58 snf-cyclades-app/synnefo/app_settings/default/ui.py
b/snf-cyclades-app/synnefo/app_settings/default/ui.py | ||
---|---|---|
24 | 24 |
# How often should the UI request changes from the API |
25 | 25 |
UI_UPDATE_INTERVAL = 5000 |
26 | 26 |
|
27 |
# Milieconds to increase the interval after UI_UPDATE_INTERVAL_INCREASE_AFTER_CALLS_COUNT calls |
|
27 |
# Milieconds to increase the interval after |
|
28 |
# UI_UPDATE_INTERVAL_INCREASE_AFTER_CALLS_COUNT calls |
|
28 | 29 |
# of recurrent api requests |
29 | 30 |
UI_UPDATE_INTERVAL_INCREASE = UI_UPDATE_INTERVAL / 4 |
30 | 31 |
UI_UPDATE_INTERVAL_INCREASE_AFTER_CALLS_COUNT = 4 |
... | ... | |
88 | 89 |
VM_CREATE_NAME_TPL = "My {0} server" |
89 | 90 |
|
90 | 91 |
# Template to use to build vm hostname |
91 |
UI_VM_HOSTNAME_FORMAT = 'snf-%(id)s.vm.okeanos.grnet.gr'
|
|
92 |
UI_VM_HOSTNAME_FORMAT = 'snf-%(id)s.vm.synnefo.org'
|
|
92 | 93 |
|
93 | 94 |
# Name/description metadata for the available flavor disk templates |
94 | 95 |
# Dict key is the disk_template value as stored in database |
... | ... | |
199 | 200 |
# a dict of image owner ids and their associate name |
200 | 201 |
# to be displayed on images list |
201 | 202 |
UI_SYSTEM_IMAGES_OWNERS = { |
202 |
'admin@synnefo.gr': 'system',
|
|
203 |
'images@synnefo.gr': 'system'
|
|
203 |
'admin@synnefo.org': 'system',
|
|
204 |
'images@synnefo.org': 'system'
|
|
204 | 205 |
} |
205 | 206 |
|
206 | 207 |
# Astakos feedback endpoint. UI uses this setting to post error feedbacks |
Also available in: Unified diff