Statistics
| Branch: | Tag: | Revision:

root / api / fixtures / api_test_data.json @ 40777cc8

History | View | Annotate | Download (6.7 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
            "owner": 1,
251
            "created": "2011-02-06 00:00:00",
252
            "updated": "2011-02-06 00:00:00",
253
            "state": "ACTIVE"
254
        }
255
    },
256
    {
257
        "model": "db.VirtualMachine",
258
        "pk": 1001,
259
        "fields": {
260
            "owner": 1,
261
            "name": "snf-1001",
262
            "created": "2011-02-06 00:00:00",
263
            "updated": "2011-02-06 00:00:00",
264
            "charged": "2011-02-06 00:00:00",
265
            "sourceimage": 1,
266
            "hostid": "HAL-9000",
267
            "ipfour": "192.168.2.1",
268
            "ipsix": "::1",
269
            "flavor": 1,
270
            "operstate": "STOPPED"
271
        }
272
    },
273
    {
274
        "model": "db.VirtualMachine",
275
        "pk": 1002,
276
        "fields": {
277
            "owner": 1,
278
            "name": "snf-1002",
279
            "created": "2011-02-10 00:00:00",
280
            "updated": "2011-02-10 00:00:00",
281
            "charged": "2011-02-10 00:00:00",
282
            "sourceimage": 1,
283
            "hostid": "HAL-9000",
284
            "ipfour": "192.168.2.2",
285
            "ipsix": "::2",
286
            "flavor": 1,
287
            "operstate": "BUILD"
288
        }
289
    },
290
    {
291
        "model": "db.VirtualMachine",
292
        "pk": 1003,
293
        "fields": {
294
            "owner": 1,
295
            "name": "snf-1003",
296
            "created": "2011-02-10 00:00:00",
297
            "updated": "2011-02-10 00:00:00",
298
            "charged": "2011-02-10 00:00:00",
299
            "sourceimage": 1,
300
            "hostid": "HAL-9000",
301
            "ipfour": "192.168.2.3",
302
            "ipsix": "::3",
303
            "flavor": 1,
304
            "operstate": "STARTED"
305
        }
306
    },
307
    {
308
        "model": "db.VirtualMachine",
309
        "pk": 1004,
310
        "fields": {
311
            "owner": 1,
312
            "name": "snf-1004",
313
            "created": "2011-02-10 00:00:00",
314
            "updated": "2011-02-10 00:00:00",
315
            "charged": "2011-02-10 00:00:00",
316
            "sourceimage": 1,
317
            "hostid": "HAL-9000",
318
            "ipfour": "192.168.2.4",
319
            "ipsix": "::4",
320
            "flavor": 1,
321
            "operstate": "STARTED"
322
        }
323
    },
324
    {
325
        "model": "db.Image",
326
        "pk": 2,
327
        "fields": {
328
            "name": "Slackware 13.1",
329
            "created": "2011-02-10 00:00:00",
330
            "updated": "2011-02-10 00:00:00",
331
            "state": "ACTIVE",
332
            "owner" : 1,
333
            "sourcevm": 1001
334
        }
335
    }
336
]