Revision 0156e40c snf-astakos-app/astakos/im/presentation.py

b/snf-astakos-app/astakos/im/presentation.py
143 143
                        'cyclades.network.private'
144 144
                        ]
145 145
}
146

  
147

  
148
def service_defaults(service_name):
149
    """
150
    Metadata for unkown services
151
    """
152
    return {
153
        'name': service_name,
154
        'order': 1000,
155
        'verbose_name': service_name.title(),
156
        'cloudbar': {
157
            'show': True,
158
            'title': service_name
159
        },
160
        'dashboard': {
161
            'show': True,
162
            'order': 1000,
163
            'description': '%s service' % service_name
164
        }
165
    }
166

  
167

  
168
SERVICES = {
169
    'astakos': {
170
        'url': '/im/landing',
171
        'order': 1,
172
        'dashboard': {
173
            'order': 3,
174
            'show': True,
175
            'description': "Access the dashboard from the top right corner "
176
                           "of your screen. Here you can manage your profile, "
177
                           "see the usage of your resources and manage "
178
                           "projects to share virtual resources with "
179
                           "colleagues."
180
        },
181
        'cloudbar': {
182
            'show': False
183
        }
184
    },
185
    'pithos': {
186
        'url': '/pithos/ui/',
187
        'order': 2,
188
        'dashboard': {
189
            'order': 1,
190
            'show': True,
191
            'description': "Pithos is the File Storage service. "
192
                           "Click to start uploading and managing your "
193
                           "files on the cloud."
194
        },
195
        'cloudbar': {
196
            'show': True
197
        }
198
    },
199
    'cyclades': {
200
        'url': '/cyclades/ui/',
201
        'order': 3,
202
        'dashboard': {
203
            'order': 2,
204
            'show': True,
205
            'description': "Cyclades is the Compute and Network Service. "
206
                           "Click to start creating Virtual Machines and "
207
                           "connect them to arbitrary Networks."
208
        },
209
        'cloudbar': {
210
            'show': True
211
        }
212
    }
213
}

Also available in: Unified diff