Merge branch 'master' of ssh://git.planet-lab.org/git/plstackapi
[plstackapi.git] / planetstack / core / fixtures / initial_data.json
1 [
2 {
3     "pk": 1, 
4     "model": "core.deployment", 
5     "fields": {
6         "updated": "2013-04-03T22:57:09.331Z", 
7         "name": "VICCI", 
8         "created": "2013-04-03T22:57:09.331Z"
9     }
10 },
11 {
12     "pk": 2, 
13     "model": "core.deployment", 
14     "fields": {
15         "updated": "2013-04-03T22:57:15.013Z", 
16         "name": "VINI", 
17         "created": "2013-04-03T22:57:15.013Z"
18     }
19 },
20 {
21     "pk": 3, 
22     "model": "core.deployment", 
23     "fields": {
24         "updated": "2013-04-03T22:57:23.015Z", 
25         "name": "PlanetLab Classic", 
26         "created": "2013-04-03T22:57:23.015Z"
27     }
28 },
29 {
30     "pk": 4, 
31     "model": "core.deployment", 
32     "fields": {
33         "updated": "2013-04-03T22:57:29.569Z", 
34         "name": "GENI", 
35         "created": "2013-04-03T22:57:29.569Z"
36     }
37 },
38 {
39     "pk": 1, 
40     "model": "core.site", 
41     "fields": {
42         "updated": "2013-06-21T21:12:16.675Z", 
43         "name": "Princeton University", 
44         "created": "2013-04-03T23:00:10.085Z", 
45         "tenant_id": "", 
46         "enabled": true, 
47         "site_url": "http://princeton.edu/", 
48         "login_base": "princeton", 
49         "location": "40.3502,-74.6524", 
50         "is_public": true, 
51         "deployments": [
52             3, 
53             4
54         ], 
55         "abbreviated_name": ""
56     }
57 },
58 {
59     "pk": 2, 
60     "model": "core.site", 
61     "fields": {
62         "updated": "2013-06-21T21:19:35.989Z", 
63         "name": "Stanford University", 
64         "created": "2013-04-03T23:03:51.742Z", 
65         "tenant_id": "", 
66         "enabled": true, 
67         "site_url": "http://www.stanford.edu/", 
68         "login_base": "stanford", 
69         "location": "37.4294,-122.172", 
70         "is_public": true, 
71         "deployments": [], 
72         "abbreviated_name": "" 
73     }
74 },
75 {
76     "pk": 3, 
77     "model": "core.site", 
78     "fields": {
79         "updated": "2013-06-21T21:18:43.118Z", 
80         "name": "Georgia Institute of Technology", 
81         "created": "2013-04-03T23:05:51.984Z", 
82         "tenant_id": "", 
83         "enabled": true, 
84         "site_url": "http://www.gatech.edu/", 
85         "login_base": "gt", 
86         "location": "33.7772,-84.3976", 
87         "is_public": true, 
88         "deployments": [], 
89         "abbreviated_name": "" 
90     }
91 },
92 {
93     "pk": 4, 
94     "model": "core.site", 
95     "fields": {
96         "updated": "2013-06-21T21:17:55.537Z", 
97         "name": "University of Washington", 
98         "created": "2013-04-03T23:09:52.337Z", 
99         "tenant_id": "", 
100         "enabled": true, 
101         "site_url": "https://www.washington.edu/", 
102         "login_base": "uw", 
103         "location": "47.6531,-122.313", 
104         "is_public": true, 
105         "deployments": [], 
106         "abbreviated_name": "" 
107     }
108 },
109 {
110     "pk": 5, 
111     "model": "core.site", 
112     "fields": {
113         "updated": "2013-06-21T21:17:13.982Z", 
114         "name": "ETH Zuerich - Computer Science", 
115         "created": "2013-04-03T23:14:11.072Z", 
116         "tenant_id": "", 
117         "enabled": true, 
118         "site_url": "http://www.inf.ethz.ch/", 
119         "login_base": "ethzcs", 
120         "location": "47.3794,8.54513", 
121         "is_public": true, 
122         "deployments": [], 
123         "abbreviated_name": "" 
124     }
125 },
126 {
127     "pk": 6, 
128     "model": "core.site", 
129     "fields": {
130         "updated": "2013-06-21T21:16:29.653Z", 
131         "name": "Max Planck Institute for Software Systems", 
132         "created": "2013-04-03T23:19:38.789Z", 
133         "tenant_id": "", 
134         "enabled": true, 
135         "site_url": "http://www.mpi-sws.mpg.de/", 
136         "login_base": "mpisws", 
137         "location": "49.14,6.589", 
138         "is_public": true, 
139         "deployments": [], 
140         "abbreviated_name": ""
141     }
142 },
143 {
144     "pk": 7, 
145     "model": "core.site", 
146     "fields": {
147         "updated": "2013-06-21T21:14:49.235Z", 
148         "name": "University of Tokyo", 
149         "created": "2013-04-03T23:20:49.815Z", 
150         "tenant_id": "", 
151         "enabled": true, 
152         "site_url": "http://www.planet-lab-jp.org/", 
153         "login_base": "utokyo", 
154         "location": "35.75,139.5", 
155         "is_public": true, 
156         "deployments": [], 
157         "abbreviated_name": "" 
158     }
159 },
160 {
161     "pk": 1, 
162     "model": "core.serviceclass", 
163     "fields": {
164         "updated": "2013-05-10T23:30:52.931Z", 
165         "membershipFee": 0, 
166         "description": "Best Effort", 
167         "membershipFeeMonths": 0, 
168         "created": "2013-05-10T23:30:52.931Z", 
169         "upgradeFrom": [
170             2, 
171             3
172         ], 
173         "commitment": 0, 
174         "name": "Best Effort", 
175         "upgradeRequiresApproval": false 
176     }
177 },
178 {
179     "pk": 2, 
180     "model": "core.serviceclass", 
181     "fields": {
182         "updated": "2013-05-10T23:35:51.694Z", 
183         "membershipFee": 100, 
184         "description": "Silver", 
185         "membershipFeeMonths": 1, 
186         "created": "2013-05-10T23:33:24.930Z", 
187         "upgradeFrom": [
188             1, 
189             3
190         ], 
191         "commitment": 365, 
192         "name": "Silver", 
193         "upgradeRequiresApproval": false 
194     }
195 },
196 {
197     "pk": 3, 
198     "model": "core.serviceclass", 
199     "fields": {
200         "updated": "2013-05-10T23:34:01.320Z", 
201         "membershipFee": 18000, 
202         "description": "Gold", 
203         "membershipFeeMonths": 12, 
204         "created": "2013-05-10T23:34:01.320Z", 
205         "upgradeFrom": [
206             1, 
207             2
208         ], 
209         "commitment": 365, 
210         "name": "Gold", 
211         "upgradeRequiresApproval": false 
212     }
213 },
214 {
215     "pk": 1, 
216     "model": "core.serviceresource", 
217     "fields": {
218         "updated": "2013-05-10T23:44:50.862Z", 
219         "name": "Cycles", 
220         "bucketMaxSize": 0, 
221         "created": "2013-05-10T23:37:09.312Z", 
222         "serviceClass": 1, 
223         "maxUnitsDeployment": 0, 
224         "calendarReservable": false, 
225         "bucketInRate": 0, 
226         "cost": 7, 
227         "maxUnitsNode": 0, 
228         "maxDuration": 0 
229     }
230 },
231 {
232     "pk": 2, 
233     "model": "core.serviceresource", 
234     "fields": {
235         "updated": "2013-05-10T23:44:39.936Z", 
236         "name": "Cycles", 
237         "bucketMaxSize": 0, 
238         "created": "2013-05-10T23:44:39.936Z", 
239         "serviceClass": 2, 
240         "maxUnitsDeployment": 0, 
241         "calendarReservable": false, 
242         "bucketInRate": 0, 
243         "cost": 7, 
244         "maxUnitsNode": 0, 
245         "maxDuration": 0 
246     }
247 },
248 {
249     "pk": 3, 
250     "model": "core.serviceresource", 
251     "fields": {
252         "updated": "2013-05-10T23:45:16.137Z", 
253         "name": "Cycles", 
254         "bucketMaxSize": 0, 
255         "created": "2013-05-10T23:45:16.137Z", 
256         "serviceClass": 3, 
257         "maxUnitsDeployment": 0, 
258         "calendarReservable": false, 
259         "bucketInRate": 0, 
260         "cost": 7, 
261         "maxUnitsNode": 0, 
262         "maxDuration": 0 
263     }
264 },
265 {
266     "pk": 4, 
267     "model": "core.serviceresource", 
268     "fields": {
269         "updated": "2013-05-10T23:47:39.033Z", 
270         "name": "numberCores", 
271         "bucketMaxSize": 210, 
272         "created": "2013-05-10T23:46:33.201Z", 
273         "serviceClass": 2, 
274         "maxUnitsDeployment": 210, 
275         "calendarReservable": true, 
276         "bucketInRate": 10, 
277         "cost": 7, 
278         "maxUnitsNode": 6, 
279         "maxDuration": 168 
280     }
281 },
282 {
283     "pk": 5, 
284     "model": "core.serviceresource", 
285     "fields": {
286         "updated": "2013-05-10T23:47:31.771Z", 
287         "name": "numberCores", 
288         "bucketMaxSize": 0, 
289         "created": "2013-05-10T23:47:31.770Z", 
290         "serviceClass": 3, 
291         "maxUnitsDeployment": 210, 
292         "calendarReservable": true, 
293         "bucketInRate": 0, 
294         "cost": 0, 
295         "maxUnitsNode": 6, 
296         "maxDuration": 8760 
297     }
298 },
299 {
300     "pk": 1, 
301     "model": "core.role", 
302     "fields": {
303         "updated": "2013-07-30T10:35:50.572Z", 
304         "description": "PlanetStack Application Administrator", 
305         "created": "2013-07-30T10:30:28.633Z", 
306         "content_type": 8, 
307         "role_type": "Admin" 
308     }
309 },
310 {
311     "pk": 2, 
312     "model": "core.role", 
313     "fields": {
314         "updated": "2013-07-30T10:36:30.174Z", 
315         "description": "User level role for PlanetStack Application", 
316         "created": "2013-07-30T10:31:02.627Z", 
317         "content_type": 8, 
318         "role_type": "Default" 
319     }
320 },
321 {
322     "pk": 3, 
323     "model": "core.role", 
324     "fields": {
325         "updated": "2013-07-30T10:36:07.877Z", 
326         "description": "Administrative role for a Slice", 
327         "created": "2013-07-30T10:31:25.829Z", 
328         "content_type": 21, 
329         "role_type": "Admin" 
330     }
331 },
332 {
333     "pk": 4, 
334     "model": "core.role", 
335     "fields": {
336         "updated": "2013-07-30T10:36:20.679Z", 
337         "description": "User level access for a particular Slice", 
338         "created": "2013-07-30T10:31:48.791Z", 
339         "content_type": 21, 
340         "role_type": "Default" 
341     }
342 },
343 {
344     "pk": 5, 
345     "model": "core.role", 
346     "fields": {
347         "updated": "2013-07-30T10:35:59.388Z", 
348         "description": "Administrator role for a particular Site", 
349         "created": "2013-07-30T10:32:20.600Z", 
350         "content_type": 15, 
351         "role_type": "Admin" 
352     }
353 },
354 {
355     "pk": 6, 
356     "model": "core.role", 
357     "fields": {
358         "updated": "2013-07-30T10:34:39.494Z", 
359         "description": "Principal Investigator for a particular Site", 
360         "created": "2013-07-30T10:34:39.494Z", 
361         "content_type": 15, 
362         "role_type": "PI" 
363     }
364 },
365 {
366     "pk": 7, 
367     "model": "core.role", 
368     "fields": {
369         "updated": "2013-07-30T10:35:27.633Z", 
370         "description": "Technical support for a particular Site. Allows for Read/Write access to a Site's Nodes.", 
371         "created": "2013-07-30T10:35:27.633Z", 
372         "content_type": 15, 
373         "role_type": "Tech" 
374     }
375 },
376 {
377     "pk": 8, 
378     "model": "core.role", 
379     "fields": {
380         "updated": "2013-07-30T10:38:04.554Z", 
381         "description": "Responsibility for a particular Site's accounting and invoices.", 
382         "created": "2013-07-30T10:38:04.554Z", 
383         "content_type": 15, 
384         "role_type": "Billing" 
385     }
386 },
387 {
388     "pk": 9, 
389     "model": "core.role", 
390     "fields": {
391         "updated": "2013-07-30T10:39:07.062Z", 
392         "description": "Default access for a particular Site which allows for Read-only access to the Site's objects.", 
393         "created": "2013-07-30T10:39:07.062Z", 
394         "content_type": 15, 
395         "role_type": "Default" 
396     }
397 },
398 {
399     "pk": 10, 
400     "model": "core.role", 
401     "fields": {
402         "updated": "2013-07-30T10:39:55.479Z", 
403         "description": "Represents the Site through which a particular user is managed through.", 
404         "created": "2013-07-30T10:39:55.479Z", 
405         "content_type": 15, 
406         "role_type": "Homed" 
407     }
408 },
409 {
410     "pk": 11,
411     "model": "core.role",
412     "fields": {
413         "updated": "2013-07-30T17:35:59.815Z",
414         "description": "Administrative responsibility for a particular Deployment.",
415         "created": "2013-07-30T17:35:59.815Z",
416         "content_type": 9,
417         "role_type": "Admin"
418     }
419 },
420 {
421     "pk": 12,
422     "model": "core.role",
423     "fields": {
424         "updated": "2013-07-30T17:36:54.728Z",
425         "description": "Default access for a particular Deployment.",
426         "created": "2013-07-30T17:36:54.728Z",
427         "content_type": 9,
428         "role_type": "Default"
429     }
430 },
431 {
432     "pk": 1,
433     "model": "core.planetstackrole",
434     "fields": {
435         "updated": "2013-09-03T11:47:42.611Z",
436         "role": "admin",
437         "created": "2013-09-03T11:47:42.611Z"
438     }
439 },
440 {
441     "pk": 1,
442     "model": "core.siterole",
443     "fields": {
444         "updated": "2013-09-03T11:48:34.966Z",
445         "role": "admin",
446         "created": "2013-09-03T11:48:34.966Z"
447     }
448 },
449 {
450     "pk": 2,
451     "model": "core.siterole",
452     "fields": {
453         "updated": "2013-09-03T11:48:49.480Z",
454         "role": "pi",
455         "created": "2013-09-03T11:48:49.480Z"
456     }
457 },
458 {
459     "pk": 3,
460     "model": "core.siterole",
461     "fields": {
462         "updated": "2013-09-03T11:49:03.678Z",
463         "role": "tech",
464         "created": "2013-09-03T11:49:03.678Z"
465     }
466 },
467 {
468     "pk": 4,
469     "model": "core.siterole",
470     "fields": {
471         "updated": "2013-09-03T11:49:17.254Z",
472         "role": "billing",
473         "created": "2013-09-03T11:49:17.254Z"
474     }
475 },
476 {
477     "pk": 1,
478     "model": "core.slicerole",
479     "fields": {
480         "updated": "2013-09-03T11:48:02.080Z",
481         "role": "admin",
482         "created": "2013-09-03T11:48:02.080Z"
483     }
484 },
485 {
486     "pk": 2,
487     "model": "core.slicerole",
488     "fields": {
489         "updated": "2013-09-03T11:48:17.688Z",
490         "role": "default",
491         "created": "2013-09-03T11:48:17.688Z"
492     }
493 },
494 {
495     "pk": 1,
496     "model": "core.deploymentrole",
497     "fields": {
498         "updated": "2013-09-03T11:48:02.080Z",
499         "role": "admin",
500         "created": "2013-09-03T11:48:02.080Z"
501     }
502 }
503 ]