Statistics
| Branch: | Tag: | Revision:

root / api / fixtures / api_test_data.json @ dd53338a

History | View | Annotate | Download (7.5 kB)

1
[
2
    {
3
        "model": "db.Flavor",
4
        "pk": 1,
5
        "fields": {
6
            "cpu": 1,
7
            "ram": 1024,
8
            "disk": 20 
9
        }
10
    },
11
    {
12
        "model": "db.Flavor",
13
        "pk": 2,
14
        "fields": {
15
            "cpu": 1,
16
            "ram": 1024,
17
            "disk": 40 
18
        }
19
    },
20
    {
21
        "model": "db.Flavor",
22
        "pk": 3,
23
        "fields": {
24
            "cpu": 1,
25
            "ram": 1024,
26
            "disk": 80 
27
        }
28
    },
29
    {
30
        "model": "db.Flavor",
31
        "pk": 4,
32
        "fields": {
33
            "cpu": 1,
34
            "ram": 2048,
35
            "disk": 20 
36
        }
37
    },
38
    {
39
        "model": "db.Flavor",
40
        "pk": 5,
41
        "fields": {
42
            "cpu": 1,
43
            "ram": 2048,
44
            "disk": 40 
45
        }
46
    },
47
    {
48
        "model": "db.Flavor",
49
        "pk": 6,
50
        "fields": {
51
            "cpu": 1,
52
            "ram": 2048,
53
            "disk": 80 
54
        }
55
    },
56
    {
57
        "model": "db.Flavor",
58
        "pk": 7,
59
        "fields": {
60
            "cpu": 1,
61
            "ram": 4096,
62
            "disk": 20 
63
        }
64
    },
65
    {
66
        "model": "db.Flavor",
67
        "pk": 8,
68
        "fields": {
69
            "cpu": 1,
70
            "ram": 4096,
71
            "disk": 40 
72
        }
73
    },
74
    {
75
        "model": "db.Flavor",
76
        "pk": 9,
77
        "fields": {
78
            "cpu": 1,
79
            "ram": 4096,
80
            "disk": 80 
81
        }
82
    },
83
    {
84
        "model": "db.Flavor",
85
        "pk": 10,
86
        "fields": {
87
            "cpu": 2,
88
            "ram": 1024,
89
            "disk": 20 
90
        }
91
    },
92
    {
93
        "model": "db.Flavor",
94
        "pk": 11,
95
        "fields": {
96
            "cpu": 2,
97
            "ram": 1024,
98
            "disk": 40 
99
        }
100
    },
101
    {
102
        "model": "db.Flavor",
103
        "pk": 12,
104
        "fields": {
105
            "cpu": 2,
106
            "ram": 1024,
107
            "disk": 80 
108
        }
109
    },
110
    {
111
        "model": "db.Flavor",
112
        "pk": 13,
113
        "fields": {
114
            "cpu": 2,
115
            "ram": 2048,
116
            "disk": 20 
117
        }
118
    },
119
    {
120
        "model": "db.Flavor",
121
        "pk": 14,
122
        "fields": {
123
            "cpu": 2,
124
            "ram": 2048,
125
            "disk": 40 
126
        }
127
    },
128
    {
129
        "model": "db.Flavor",
130
        "pk": 15,
131
        "fields": {
132
            "cpu": 2,
133
            "ram": 2048,
134
            "disk": 80 
135
        }
136
    },
137
    {
138
        "model": "db.Flavor",
139
        "pk": 16,
140
        "fields": {
141
            "cpu": 2,
142
            "ram": 4096,
143
            "disk": 20 
144
        }
145
    },
146
    {
147
        "model": "db.Flavor",
148
        "pk": 17,
149
        "fields": {
150
            "cpu": 2,
151
            "ram": 4096,
152
            "disk": 40 
153
        }
154
    },
155
    {
156
        "model": "db.Flavor",
157
        "pk": 18,
158
        "fields": {
159
            "cpu": 2,
160
            "ram": 4096,
161
            "disk": 80 
162
        }
163
    },
164
    {
165
        "model": "db.Flavor",
166
        "pk": 19,
167
        "fields": {
168
            "cpu": 4,
169
            "ram": 1024,
170
            "disk": 20 
171
        }
172
    },
173
    {
174
        "model": "db.Flavor",
175
        "pk": 20,
176
        "fields": {
177
            "cpu": 4,
178
            "ram": 1024,
179
            "disk": 40 
180
        }
181
    },
182
    {
183
        "model": "db.Flavor",
184
        "pk": 21,
185
        "fields": {
186
            "cpu": 4,
187
            "ram": 1024,
188
            "disk": 80 
189
        }
190
    },
191
    {
192
        "model": "db.Flavor",
193
        "pk": 22,
194
        "fields": {
195
            "cpu": 4,
196
            "ram": 2048,
197
            "disk": 20 
198
        }
199
    },
200
    {
201
        "model": "db.Flavor",
202
        "pk": 23,
203
        "fields": {
204
            "cpu": 4,
205
            "ram": 2048,
206
            "disk": 40 
207
        }
208
    },
209
    {
210
        "model": "db.Flavor",
211
        "pk": 24,
212
        "fields": {
213
            "cpu": 4,
214
            "ram": 2048,
215
            "disk": 80 
216
        }
217
    },
218
    {
219
        "model": "db.Flavor",
220
        "pk": 25,
221
        "fields": {
222
            "cpu": 4,
223
            "ram": 4096,
224
            "disk": 20 
225
        }
226
    },
227
    {
228
        "model": "db.Flavor",
229
        "pk": 26,
230
        "fields": {
231
            "cpu": 4,
232
            "ram": 4096,
233
            "disk": 40 
234
        }
235
    },
236
    {
237
        "model": "db.Flavor",
238
        "pk": 27,
239
        "fields": {
240
            "cpu": 4,
241
            "ram": 4096,
242
            "disk": 80 
243
        }
244
    },
245
    {
246
        "model": "db.Image",
247
        "pk": 1,
248
        "fields": {
249
            "name": "Debian Squeeze",
250
            "created": "2011-02-06 00:00:00",
251
            "updated": "2011-02-06 00:00:00",
252
            "state": "ACTIVE",
253
            "description": "Full Debian Squeeze Installation",
254
            "size": 5678
255
        }
256
    },
257
    {
258
        "model": "db.VirtualMachine",
259
        "pk": 1001,
260
        "fields": {
261
            "owner": 1,
262
            "name": "snf-1001",
263
            "created": "2011-02-06 00:00:00",
264
            "updated": "2011-02-06 00:00:00",
265
            "charged": "2011-02-06 00:00:00",
266
            "sourceimage": 1,
267
            "hostid": "HAL-9000",
268
            "ipfour": "192.168.2.1",
269
            "ipsix": "::1",
270
            "flavor": 1,
271
            "operstate": "STOPPED"
272
        }
273
    },
274
    {
275
        "model": "db.VirtualMachine",
276
        "pk": 1002,
277
        "fields": {
278
            "owner": 1,
279
            "name": "snf-1002",
280
            "created": "2011-02-10 00:00:00",
281
            "updated": "2011-02-10 00:00:00",
282
            "charged": "2011-02-10 00:00:00",
283
            "sourceimage": 1,
284
            "hostid": "HAL-9000",
285
            "ipfour": "192.168.2.2",
286
            "ipsix": "::2",
287
            "flavor": 1,
288
            "operstate": "BUILD"
289
        }
290
    },
291
    {
292
        "model": "db.VirtualMachine",
293
        "pk": 1003,
294
        "fields": {
295
            "owner": 1,
296
            "name": "snf-1003",
297
            "created": "2011-02-10 00:00:00",
298
            "updated": "2011-02-10 00:00:00",
299
            "charged": "2011-02-10 00:00:00",
300
            "sourceimage": 1,
301
            "hostid": "HAL-9000",
302
            "ipfour": "192.168.2.3",
303
            "ipsix": "::3",
304
            "flavor": 1,
305
            "operstate": "STARTED"
306
        }
307
    },
308
    {
309
        "model": "db.VirtualMachine",
310
        "pk": 1004,
311
        "fields": {
312
            "owner": 1,
313
            "name": "snf-1004",
314
            "created": "2011-02-10 00:00:00",
315
            "updated": "2011-02-10 00:00:00",
316
            "charged": "2011-02-10 00:00:00",
317
            "sourceimage": 1,
318
            "hostid": "HAL-9000",
319
            "ipfour": "192.168.2.4",
320
            "ipsix": "::4",
321
            "flavor": 1,
322
            "operstate": "STARTED"
323
        }
324
    },
325
    {
326
        "model": "db.Image",
327
        "pk": 2,
328
        "fields": {
329
            "name": "Slackware 13.1",
330
            "created": "2011-02-10 00:00:00",
331
            "updated": "2011-02-10 00:00:00",
332
            "state": "ACTIVE",
333
            "description": "Full Slackware 13.1 Installation",
334
            "size": 1234,
335
            "owner" : 1,
336
            "sourcevm": 1001
337
        }
338
    }, 
339
    {
340
        "model": "db.VirtualMachineGroup",
341
        "pk": 1,
342
        "fields": {
343
            "name": "one group of vms",
344
            "created": "2011-02-06 00:00:00",
345
            "updated": "2011-02-06 00:00:00",
346
            "owner" : 1,
347
            "machines" : [1001,1002]
348
        }
349
    },
350
    {
351
        "model": "db.VirtualMachineGroup",
352
        "pk": 2,
353
        "fields": {
354
            "name": "a second group of vms",
355
            "created": "2011-02-06 00:00:00",
356
            "updated": "2011-02-06 00:00:00",
357
            "owner" : 1,
358
            "machines" : [1003,1004]
359
        }
360
    }
361
]