Statistics
| Branch: | Tag: | Revision:

root / db / fixtures / initial_data.json @ 9071888e

History | View | Annotate | Download (3.6 kB)

1
[
2
    {
3
        "model": "db.SynnefoUser",
4
        "pk": 1,
5
        "fields": {
6
            "name": "admin user",
7
            "credit": 1,
8
            "quota": 20,
9
            "created": "2011-02-06",
10
            "monthly_rate": 1,
11
            "user" : 1,
12
            "violations" : 0,
13
            "max_violations" : 5
14
               }
15
    },
16
    {
17
        "model": "db.Flavor",
18
        "pk": 1,
19
        "fields": {
20
            "cpu": 1,
21
            "ram": 1024,
22
            "disk": 10
23
        }
24
    },
25
    {
26
        "model": "db.Flavor",
27
        "pk": 2,
28
        "fields": {
29
            "cpu": 1,
30
            "ram": 1024,
31
            "disk": 10
32
        }
33
    },
34
    {
35
        "model": "db.VirtualMachine",
36
        "pk": 1001,
37
        "fields": {
38
            "name": "snf-1001",
39
            "created": "2011-02-06 00:00:00",
40
            "charged": "2011-02-06 00:00:00",
41
            "sourceimage": 1,
42
            "hostid": "HAL-9000",
43
            "description": "database server",
44
            "ipfour": "192.168.2.1",
45
            "ipsix": "::1",
46
            "flavor": 1,
47
            "_operstate": "STOPPED"
48
        }
49
    },
50
    {
51
        "model": "db.VirtualMachine",
52
        "pk": 1002,
53
        "fields": {
54
            "name": "snf-1002",
55
            "created": "2011-02-10 00:00:00",
56
            "charged": "2011-02-10 00:00:00",
57
            "sourceimage": 1,
58
            "hostid": "HAL-9000",
59
            "description": "mail server",
60
            "ipfour": "192.168.2.2",
61
            "ipsix": "::2",
62
            "flavor": 1,
63
            "_operstate": "BUILD"
64
        }
65
    },
66
    {
67
        "model": "db.VirtualMachine",
68
        "pk": 1003,
69
        "fields": {
70
            "name": "snf-1003",
71
            "created": "2011-02-10 00:00:00",
72
            "charged": "2011-02-10 00:00:00",
73
            "sourceimage": 1,
74
            "hostid": "HAL-9000",
75
            "description": "my server",
76
            "ipfour": "192.168.2.3",
77
            "ipsix": "::3",
78
            "flavor": 1,
79
            "_operstate": "STARTED"
80
        }
81
    },
82
    {
83
        "model": "db.VirtualMachine",
84
        "pk": 1004,
85
        "fields": {
86
            "name": "snf-1004",
87
            "created": "2011-02-10 00:00:00",
88
            "charged": "2011-02-10 00:00:00",
89
            "sourceimage": 1,
90
            "hostid": "HAL-9000",
91
            "description": "my 2nd server",
92
            "ipfour": "192.168.2.4",
93
            "ipsix": "::4",
94
            "flavor": 1,
95
            "_operstate": "STARTED"
96
        }
97
    },
98
    {
99
        "model": "db.Image",
100
        "pk": 1,
101
        "fields": {
102
            "name": "Debian Squeeze",
103
            "updated": "2011-02-06 00:00:00",
104
            "created": "2011-02-06 00:00:00",
105
            "state": "ACTIVE",
106
            "description": "Full Debian Squeeze Installation"
107
        }
108
    },
109
    {
110
        "model": "db.Image",
111
        "pk": 2,
112
        "fields": {
113
            "name": "Slackware 13.1",
114
            "updated": "2011-02-10 00:00:00",
115
            "created": "2011-02-10 00:00:00",
116
            "state": "ACTIVE",
117
            "description": "Full Slackware 13.1 Installation",
118
            "owner" : 1
119
        }
120
    },   
121
    {
122
        "model": "db.Disk",
123
        "pk": 1,
124
        "fields": {
125
            "name": "My_Music",
126
            "created": "2011-02-10 00:00:00",
127
            "size" : "20",
128
            "vm" : "1001",
129
            "owner" : "1"
130
        }
131
    }, 
132
    {
133
        "model": "db.Disk",
134
        "pk": 2,
135
        "fields": {
136
            "name": "My_Videos",
137
            "created": "2011-02-10 00:00:00",
138
            "size" : "300",
139
            "vm" : "1001",
140
            "owner" : "1"
141
        }
142
    } 
143
]