Statistics
| Branch: | Tag: | Revision:

root / db / fixtures / initial_data.json @ 52194743

History | View | Annotate | Download (3.8 kB)

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