Statistics
| Branch: | Tag: | Revision:

root / db / fixtures / initial_data.json @ 6d6b83a3

History | View | Annotate | Download (3.1 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
            "owner": 1,
47
            "flavor": 1,
48
            "_operstate": "STOPPED"
49
        }
50
    },
51
    {
52
        "model": "db.VirtualMachine",
53
        "pk": 1002,
54
        "fields": {
55
            "name": "snf-1002",
56
            "created": "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
            "owner": 1,
64
            "flavor": 1,
65
            "_operstate": "BUILD"
66
        }
67
    },
68
    {
69
        "model": "db.VirtualMachine",
70
        "pk": 1003,
71
        "fields": {
72
            "name": "snf-1003",
73
            "created": "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
            "owner": 1,
81
            "flavor": 1,
82
            "_operstate": "STARTED"
83
        }
84
    },
85
    {
86
        "model": "db.VirtualMachine",
87
        "pk": 1004,
88
        "fields": {
89
            "name": "snf-1004",
90
            "created": "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
            "owner": 1,
98
            "flavor": 1,
99
            "_operstate": "STARTED"
100
        }
101
    },
102
    {
103
        "model": "db.Image",
104
        "pk": 1,
105
        "fields": {
106
            "name": "Debian Squeeze",
107
            "updated": "2011-02-06 00:00:00",
108
            "created": "2011-02-06 00:00:00",
109
            "state": "ACTIVE",
110
            "description": "Full Debian Squeeze Installation"
111
        }
112
    },
113
    {
114
        "model": "db.Image",
115
        "pk": 2,
116
        "fields": {
117
            "name": "Slackware 13.1",
118
            "updated": "2011-02-10 00:00:00",
119
            "created": "2011-02-10 00:00:00",
120
            "state": "ACTIVE",
121
            "description": "Full Slackware 13.1 Installation"
122
        }
123
    }
124
]