Statistics
| Branch: | Tag: | Revision:

root / db / fixtures / db_test_data.json @ ef39e7ee

History | View | Annotate | Download (3.5 kB)

1 52194743 Vangelis Koukis
[
2 52194743 Vangelis Koukis
    {
3 52194743 Vangelis Koukis
        "model": "db.SynnefoUser",
4 b4808d2b Vassilios Karakoidas
        "pk": 30000,
5 52194743 Vangelis Koukis
        "fields": {
6 eb66f1fe Vassilios Karakoidas
            "name": "test db user",
7 452d2391 Vassilios Karakoidas
            "credit": 10,
8 a0d4498a Vangelis Koukis
            "created": "2011-02-06"
9 52194743 Vangelis Koukis
               }
10 52194743 Vangelis Koukis
    },
11 52194743 Vangelis Koukis
    {
12 b4808d2b Vassilios Karakoidas
        "model" : "db.Limit",
13 b4808d2b Vassilios Karakoidas
        "pk" : 30000,
14 b4808d2b Vassilios Karakoidas
        "fields" : {
15 b4808d2b Vassilios Karakoidas
            "name" : "QUOTA_CREDIT",
16 eb66f1fe Vassilios Karakoidas
            "user" : 30000,
17 b4808d2b Vassilios Karakoidas
            "value" : 100
18 b4808d2b Vassilios Karakoidas
        }
19 b4808d2b Vassilios Karakoidas
    },
20 b4808d2b Vassilios Karakoidas
    {
21 bf48028e Vassilios Karakoidas
        "model" : "db.Limit",
22 bf48028e Vassilios Karakoidas
        "pk" : 30001,
23 bf48028e Vassilios Karakoidas
        "fields" : {
24 452d2391 Vassilios Karakoidas
            "name" : "MIN_CREDITS",
25 bf48028e Vassilios Karakoidas
            "user" : 30000,
26 452d2391 Vassilios Karakoidas
            "value" : -100
27 bf48028e Vassilios Karakoidas
        }
28 bf48028e Vassilios Karakoidas
    },
29 bf48028e Vassilios Karakoidas
    {
30 bf48028e Vassilios Karakoidas
        "model" : "db.Limit",
31 bf48028e Vassilios Karakoidas
        "pk" : 30002,
32 bf48028e Vassilios Karakoidas
        "fields" : {
33 bf48028e Vassilios Karakoidas
            "name" : "MONTHLY_RATE",
34 bf48028e Vassilios Karakoidas
            "user" : 30000,
35 bf48028e Vassilios Karakoidas
            "value" : 10
36 bf48028e Vassilios Karakoidas
        }
37 bf48028e Vassilios Karakoidas
    },
38 bf48028e Vassilios Karakoidas
    {
39 52194743 Vangelis Koukis
        "model": "db.Flavor",
40 b4808d2b Vassilios Karakoidas
        "pk": 30000,
41 52194743 Vangelis Koukis
        "fields": {
42 52194743 Vangelis Koukis
            "cpu": 1,
43 52194743 Vangelis Koukis
            "ram": 1024,
44 52194743 Vangelis Koukis
            "disk": 10
45 52194743 Vangelis Koukis
        }
46 52194743 Vangelis Koukis
    },
47 52194743 Vangelis Koukis
    {
48 a0f83bd2 Vassilios Karakoidas
        "model": "db.Flavor",
49 a0f83bd2 Vassilios Karakoidas
        "pk": 30001,
50 a0f83bd2 Vassilios Karakoidas
        "fields": {
51 a0f83bd2 Vassilios Karakoidas
            "cpu": 1,
52 a0f83bd2 Vassilios Karakoidas
            "ram": 1024,
53 a0f83bd2 Vassilios Karakoidas
            "disk": 20
54 a0f83bd2 Vassilios Karakoidas
        }
55 a0f83bd2 Vassilios Karakoidas
    },
56 a0f83bd2 Vassilios Karakoidas
    {
57 452d2391 Vassilios Karakoidas
        "model" : "db.FlavorCost",
58 a0f83bd2 Vassilios Karakoidas
        "pk" : 30010,
59 b4808d2b Vassilios Karakoidas
        "fields" : {
60 b4808d2b Vassilios Karakoidas
            "cost_active" : 10,
61 b4808d2b Vassilios Karakoidas
            "cost_inactive" : 5,
62 a0f83bd2 Vassilios Karakoidas
            "effective_from" : "2010-01-01",
63 a0f83bd2 Vassilios Karakoidas
            "flavor" : 30001
64 b4808d2b Vassilios Karakoidas
        }
65 b4808d2b Vassilios Karakoidas
    },
66 b4808d2b Vassilios Karakoidas
    {
67 452d2391 Vassilios Karakoidas
        "model" : "db.FlavorCost",
68 a0f83bd2 Vassilios Karakoidas
        "pk" : 30000,
69 b4808d2b Vassilios Karakoidas
        "fields" : {
70 a0f83bd2 Vassilios Karakoidas
            "cost_active" : 10,
71 a0f83bd2 Vassilios Karakoidas
            "cost_inactive" : 5,
72 a0f83bd2 Vassilios Karakoidas
            "effective_from" : "2011-01-01",
73 b4808d2b Vassilios Karakoidas
            "flavor" : 30000
74 52194743 Vangelis Koukis
        }
75 52194743 Vangelis Koukis
    },
76 52194743 Vangelis Koukis
    {
77 452d2391 Vassilios Karakoidas
        "model" : "db.FlavorCost",
78 452d2391 Vassilios Karakoidas
        "pk" : 30002,
79 452d2391 Vassilios Karakoidas
        "fields" : {
80 452d2391 Vassilios Karakoidas
            "cost_active" : 5,
81 452d2391 Vassilios Karakoidas
            "cost_inactive" : 2,
82 a0f83bd2 Vassilios Karakoidas
            "effective_from" : "2010-12-01",
83 452d2391 Vassilios Karakoidas
            "flavor" : 30000
84 452d2391 Vassilios Karakoidas
        }
85 452d2391 Vassilios Karakoidas
    },
86 452d2391 Vassilios Karakoidas
    {
87 452d2391 Vassilios Karakoidas
        "model" : "db.FlavorCost",
88 452d2391 Vassilios Karakoidas
        "pk" : 30003,
89 452d2391 Vassilios Karakoidas
        "fields" : {
90 452d2391 Vassilios Karakoidas
            "cost_active" : 4,
91 452d2391 Vassilios Karakoidas
            "cost_inactive" : 10,
92 452d2391 Vassilios Karakoidas
            "effective_from" : "2010-01-01",
93 452d2391 Vassilios Karakoidas
            "flavor" : 30000
94 452d2391 Vassilios Karakoidas
        }
95 452d2391 Vassilios Karakoidas
    },
96 452d2391 Vassilios Karakoidas
    {
97 52194743 Vangelis Koukis
        "model": "db.VirtualMachine",
98 b4808d2b Vassilios Karakoidas
        "pk": 30000,
99 52194743 Vangelis Koukis
        "fields": {
100 34a619ae Vangelis Koukis
            "owner": 30000,  
101 52194743 Vangelis Koukis
            "name": "snf-1001",
102 a0f83bd2 Vassilios Karakoidas
            "created": "2009-02-06 00:00:00",
103 a0f83bd2 Vassilios Karakoidas
            "charged": "2010-02-06 00:00:00",
104 a0f83bd2 Vassilios Karakoidas
            "sourceimage": 30000,
105 a0f83bd2 Vassilios Karakoidas
            "hostid": "HAL-9000",
106 a0f83bd2 Vassilios Karakoidas
            "ipfour": "192.168.2.1",
107 a0f83bd2 Vassilios Karakoidas
            "ipsix": "::1",
108 a0f83bd2 Vassilios Karakoidas
            "flavor": 30000,
109 dfd19c2d Vassilios Karakoidas
            "operstate": "STARTED"
110 a0f83bd2 Vassilios Karakoidas
        }
111 a0f83bd2 Vassilios Karakoidas
    },
112 a0f83bd2 Vassilios Karakoidas
{
113 a0f83bd2 Vassilios Karakoidas
        "model": "db.VirtualMachine",
114 a0f83bd2 Vassilios Karakoidas
        "pk": 30001,
115 a0f83bd2 Vassilios Karakoidas
        "fields": {
116 a0f83bd2 Vassilios Karakoidas
            "owner": 30000,
117 a0f83bd2 Vassilios Karakoidas
            "name": "snf-1002",
118 a0f83bd2 Vassilios Karakoidas
            "created": "2009-02-06 00:00:00",
119 a0f83bd2 Vassilios Karakoidas
            "charged": "2010-02-06 00:00:00",
120 b4808d2b Vassilios Karakoidas
            "sourceimage": 30000,
121 52194743 Vangelis Koukis
            "hostid": "HAL-9000",
122 52194743 Vangelis Koukis
            "ipfour": "192.168.2.1",
123 52194743 Vangelis Koukis
            "ipsix": "::1",
124 b4808d2b Vassilios Karakoidas
            "flavor": 30000,
125 dfd19c2d Vassilios Karakoidas
            "operstate": "STOPPED"
126 52194743 Vangelis Koukis
        }
127 52194743 Vangelis Koukis
    },
128 52194743 Vangelis Koukis
    {
129 52194743 Vangelis Koukis
        "model": "db.Image",
130 b4808d2b Vassilios Karakoidas
        "pk": 30000,
131 52194743 Vangelis Koukis
        "fields": {
132 52194743 Vangelis Koukis
            "name": "Debian Squeeze",
133 52194743 Vangelis Koukis
            "updated": "2011-02-06 00:00:00",
134 b4808d2b Vassilios Karakoidas
            "created": "2011-02-06 00:00:00",
135 452d2391 Vassilios Karakoidas
            "size" : 2000,
136 52194743 Vangelis Koukis
            "state": "ACTIVE",
137 b4808d2b Vassilios Karakoidas
            "description": "Full Debian Squeeze Installation",
138 b4808d2b Vassilios Karakoidas
            "owner" : 30000
139 52194743 Vangelis Koukis
        }
140 52194743 Vangelis Koukis
    },
141 52194743 Vangelis Koukis
    {
142 52194743 Vangelis Koukis
        "model": "db.Disk",
143 b4808d2b Vassilios Karakoidas
        "pk": 30000,
144 52194743 Vangelis Koukis
        "fields": {
145 52194743 Vangelis Koukis
            "name": "My_Music",
146 52194743 Vangelis Koukis
            "created": "2011-02-10 00:00:00",
147 b4808d2b Vassilios Karakoidas
            "size" : 20,
148 b4808d2b Vassilios Karakoidas
            "vm" : 30000,
149 b4808d2b Vassilios Karakoidas
            "owner" : 30000
150 52194743 Vangelis Koukis
        }
151 452d2391 Vassilios Karakoidas
    }
152 3c53cf3a Dimitris Moraitis
]