Revision 27738c43 snf-cyclades-app/synnefo/app_settings/default/ui.py
b/snf-cyclades-app/synnefo/app_settings/default/ui.py | ||
---|---|---|
43 | 43 |
# How often to check for user usage changes |
44 | 44 |
UI_QUOTAS_UPDATE_INTERVAL = 10000 |
45 | 45 |
|
46 |
# URL to redirect not authenticated users |
|
47 |
UI_LOGIN_URL = "/im/login" |
|
48 |
|
|
49 |
# URL to redirect user to when he logs out from the ui |
|
50 |
UI_LOGOUT_URL = "/im/logout" |
|
51 |
|
|
52 | 46 |
# Cookie name to retrieve authentication data from |
53 | 47 |
UI_AUTH_COOKIE_NAME = '_pithos2_a' |
54 | 48 |
|
... | ... | |
79 | 73 |
|
80 | 74 |
# A list of metadata keys to clone from image |
81 | 75 |
# to the virtual machine on its creation. |
82 |
VM_IMAGE_COMMON_METADATA = ["OS", "loginname", "logindomain", "users", "remote"] |
|
76 |
VM_IMAGE_COMMON_METADATA = ["OS", "loginname", "logindomain", "users", |
|
77 |
"remote"] |
|
83 | 78 |
|
84 | 79 |
# A list of suggested vm roles to display to user on create wizard |
85 |
VM_CREATE_SUGGESTED_ROLES = ["Database server", "File server", "Mail server", "Web server", "Proxy"] |
|
80 |
VM_CREATE_SUGGESTED_ROLES = ["Database server", "File server", "Mail server", |
|
81 |
"Web server", "Proxy"] |
|
86 | 82 |
|
87 | 83 |
# Template to be used for suggesting the user a default name for newly created |
88 | 84 |
# vms. {0} gets replaced by the image OS value |
... | ... | |
149 | 145 |
|
150 | 146 |
# OS/username map to identify default user name for the specified os |
151 | 147 |
UI_OS_DEFAULT_USER_MAP = { |
152 |
'debian':'root', 'fedora': 'root', 'okeanos': 'root', |
|
148 |
'debian': 'root', 'fedora': 'root', 'okeanos': 'root',
|
|
153 | 149 |
'ubuntu': 'root', 'kubuntu': 'root', 'centos': 'root', |
154 | 150 |
'windows': 'Administrator' |
155 | 151 |
} |
... | ... | |
162 | 158 |
# If only one set, no select options will be displayed |
163 | 159 |
UI_NETWORK_AVAILABLE_NETWORK_TYPES = {'MAC_FILTERED': 'mac-filtering'} |
164 | 160 |
|
165 |
# Suggested private networks to let the user choose from when creating a private
|
|
166 |
# network with dhcp enabled |
|
161 |
# Suggested private networks to let the user choose from when creating a |
|
162 |
# private network with dhcp enabled
|
|
167 | 163 |
UI_NETWORK_AVAILABLE_SUBNETS = ['10.0.0.0/24', '192.168.0.0/24'] |
168 | 164 |
|
169 | 165 |
# UI will use this setting to find an available network subnet if user requests |
... | ... | |
189 | 185 |
# UI EXTENSIONS |
190 | 186 |
############### |
191 | 187 |
|
192 |
# Glance images API endpoint |
|
193 |
#UI_GLANCE_API_URL = '/plankton' |
|
194 |
|
|
195 | 188 |
# Whether or not UI should display images from the Glance API |
196 | 189 |
# set in UI_GLANCE_API_URL, if setting is set to False, ui will |
197 | 190 |
# request images from Compute API |
Also available in: Unified diff