Revision 64242f0a snf-astakos-app/conf/20-snf-astakos-app-settings.conf

b/snf-astakos-app/conf/20-snf-astakos-app-settings.conf
102 102
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s project suspended (%%(name)s)' % SITENAME
103 103
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s project membership changed (%%(name)s)' % SITENAME
104 104

  
105
# Set the cloud service properties
106
#ASTAKOS_SERVICES = {
107
#    'cyclades': {
108
##        # Specifying the key 'url' will overwrite it.
109
##        # Use this to (re)set service URL.
110
##        'url': 'https://cyclades.example.synnefo.org/ui/',
111
##        # order services in listings, cloudbar, etc.
112
##        'order' : 1,
113
#        'resources': [{
114
#            'name': 'disk',
115
#            'group': 'compute',
116
#            'uplimit': 30*1024*1024*1024,
117
#            'unit': 'bytes',
118
#            'desc': 'Virtual machine disk size'
119
#            }, {
120
#            'name': 'cpu',
121
#            'group': 'compute',
122
#            'uplimit': 6,
123
#            'desc': 'Number of virtual machine processors'
124
#            }, {
125
#            'name': 'ram',
126
#            'group': 'compute',
127
#            'uplimit': 6*1024*1024*1024,
128
#            'unit': 'bytes',
129
#            'desc': 'Virtual machine memory size'
130
#            }, {
131
#            'name': 'vm',
132
#            'group': 'compute',
133
#            'uplimit': 2,
134
#            'desc': 'Number of virtual machines'
135
#            }, {
136
#            'name': 'network.private',
137
#            'group': 'network',
138
#            'uplimit': 1,
139
#            'desc': 'Private networks'
140
#            }
141
#        ]
142
#    },
143
#    'pithos+': {
144
##        # Use this to (re)set service URL.
145
##        'url': 'https://pithos.example.synnefo.org/ui/',
146
##        # order services in listings, cloudbar, etc.
147
##        'order' : 2,
148
#        'resources':[{
149
#            'name': 'diskspace',
150
#            'group': 'storage',
151
#            'uplimit': 5*1024*1024*1024,
152
#            'unit': 'bytes',
153
#            'desc': 'Pithos account diskspace'
154
#            }]
155
#    }
156
#}
157

  
158 105
# Set how many objects should be displayed per page
159 106
#ASTAKOS_PAGINATE_BY = 10
160 107
# Set how many objects should be displayed per page in show all groups page
......
165 112

  
166 113
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000
167 114

  
168
#ASTAKOS_RESOURCES_PRESENTATION_DATA = {
169
#        'groups': {
170
#             'compute': {
171
#                'help_text':'Compute resources (amount of VMs, CPUs, RAM, System disk) ',
172
#                'is_abbreviation':False,
173
#                'report_desc':'',
174
#                 'verbose_name':'compute',
175
#            },
176
#            'storage': {
177
#                'help_text':'Storage resources (amount of space to store files on Pithos) ',
178
#                'is_abbreviation':False,
179
#                'report_desc':'',
180
#                 'verbose_name':'storage',
181
#            },
182
#            'network': {
183
#                'help_text':' Network resources (number of Private Networks)  ',
184
#                'is_abbreviation':False,
185
#                'report_desc':'',
186
#                'verbose_name':'network',
187
#            },
188
#        },
189
#        'resources': {
190
#            'pithos+.diskspace': {
191
#                'help_text':'This is the space on Pithos for storing files and VM Images. ',
192
#                'help_text_input_each':'This is the total amount of space on Pithos that will be granted to each user of this Project ',
193
#                'is_abbreviation':False,
194
#                'report_desc':'Storage Space',
195
#                'placeholder':'eg. 10GB',
196
#                'verbose_name':'Storage Space',
197
#            },
198
#            'cyclades.disk': {
199
#                'help_text':'This is the System Disk that the VMs have that run the OS ',
200
#                'help_text_input_each':"This is the total amount of System Disk that will be granted to each user of this Project (this refers to the total System Disk of all VMs, not each VM's System Disk)  ",
201
#                'is_abbreviation':False,
202
#                'report_desc':'System Disk',
203
#                'placeholder':'eg. 5GB, 2GB etc',
204
#                'verbose_name':'System Disk'
205
#            },
206
#            'cyclades.ram': {
207
#                'help_text':'RAM used by VMs ',
208
#                'help_text_input_each':'This is the total amount of RAM that will be granted to each user of this Project (on all VMs)  ',
209
#                'is_abbreviation':True,
210
#                'report_desc':'RAM',
211
#                'placeholder':'eg. 4GB',
212
#                'verbose_name':'ram'
213
#            },
214
#            'cyclades.cpu': {
215
#                'help_text':'CPUs used by VMs ',
216
#                'help_text_input_each':'This is the total number of CPUs that will be granted to each user of this Project (on all VMs)  ',
217
#                'is_abbreviation':True,
218
#                'report_desc':'CPUs',
219
#                'placeholder':'eg. 1',
220
#                'verbose_name':'cpu'
221
#            },
222
#            'cyclades.vm': {
223
#                'help_text':'These are the VMs one can create on the Cyclades UI ',
224
#                'help_text_input_each':'This is the total number of VMs that will be granted to each user of this Project ',
225
#                'is_abbreviation':True,
226
#                'report_desc':'Virtual Machines',
227
#                'placeholder':'eg. 2',
228
#                'verbose_name':'vm',
229
#            },
230
#            'cyclades.network.private': {
231
#                'help_text':'These are the Private Networks one can create on the Cyclades UI. ',
232
#                'help_text_input_each':'This is the total number of Private Networks that will be granted to each user of this Project ',
233
#                'is_abbreviation':False,
234
#                'report_desc':'Private Networks',
235
#                'placeholder':'eg. 1',
236
#                'verbose_name':'private network'
237
#            }
238
#
239
#        },
240
#
241
#        'groups_order': ['storage', 'compute', 'network'],
242
#        'resources_order': ['pithos+.diskspace', 'cyclades.disk',
243
#                            'cyclades.cpu', 'cyclades.ram', 'cyclades.vm',
244
#                            'cyclades.network.private']
245
#
246
#    }
247

  
248 115
# Permit local account migration
249 116
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True
250 117

  
......
284 151

  
285 152
# Whether or not to display projects in astakos menu
286 153
# ASTAKOS_PROJECTS_VISIBLE = False
154

  
155
# A way to extend the services presentation metadata
156
# ASTAKOS_SERVICES_META = {}
157

  
158
# A way to extend the resources presentation metadata
159
# ASTAKOS_RESOURCES_META = {}

Also available in: Unified diff