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