Statistics
| Branch: | Tag: | Revision:

root / db / fixtures / vms.json @ dfd19c2d

History | View | Annotate | Download (2.7 kB)

1
[
2
    {
3
        "model": "db.Image",
4
        "pk": 1,
5
        "fields": {
6
            "name": "Debian Squeeze",
7
            "created": "2011-02-06 00:00:00",
8
            "updated": "2011-02-06 00:00:00",
9
            "state": "ACTIVE",
10
            "size": 5678
11
        }
12
    },
13
    {
14
        "model": "db.VirtualMachine",
15
        "pk": 1001,
16
        "fields": {
17
            "owner": 1,
18
            "name": "snf-1001",
19
            "created": "2011-02-06 00:00:00",
20
            "updated": "2011-02-06 00:00:00",
21
            "charged": "2011-02-06 00:00:00",
22
            "sourceimage": 1,
23
            "hostid": "HAL-9000",
24
            "ipfour": "192.168.2.1",
25
            "ipsix": "::1",
26
            "flavor": 1,
27
            "operstate": "STOPPED"
28
        }
29
    },
30
    {
31
        "model": "db.VirtualMachine",
32
        "pk": 1002,
33
        "fields": {
34
            "owner": 1,
35
            "name": "snf-1002",
36
            "created": "2011-02-10 00:00:00",
37
            "updated": "2011-02-10 00:00:00",
38
            "charged": "2011-02-10 00:00:00",
39
            "sourceimage": 1,
40
            "hostid": "HAL-9000",
41
            "ipfour": "192.168.2.2",
42
            "ipsix": "::2",
43
            "flavor": 1,
44
            "operstate": "BUILD"
45
        }
46
    },
47
    {
48
        "model": "db.VirtualMachine",
49
        "pk": 1003,
50
        "fields": {
51
            "owner": 1,
52
            "name": "snf-1003",
53
            "created": "2011-02-10 00:00:00",
54
            "updated": "2011-02-10 00:00:00",
55
            "charged": "2011-02-10 00:00:00",
56
            "sourceimage": 1,
57
            "hostid": "HAL-9000",
58
            "ipfour": "192.168.2.3",
59
            "ipsix": "::3",
60
            "flavor": 1,
61
            "operstate": "STARTED"
62
        }
63
    },
64
    {
65
        "model": "db.VirtualMachine",
66
        "pk": 1004,
67
        "owner": 1,
68
        "fields": {
69
            "owner": 1,
70
            "name": "snf-1004",
71
            "created": "2011-02-10 00:00:00",
72
            "updated": "2011-02-10 00:00:00",
73
            "charged": "2011-02-10 00:00:00",
74
            "sourceimage": 1,
75
            "hostid": "HAL-9000",
76
            "ipfour": "192.168.2.4",
77
            "ipsix": "::4",
78
            "flavor": 1,
79
            "operstate": "STARTED"
80
        }
81
    },
82
    {
83
        "model": "db.VirtualMachineMetadata",
84
        "pk": 1,
85
        "fields": {
86
            "meta_key": "OS",
87
            "meta_value": "debian",
88
            "vm": 1001
89
        }
90
    },
91
    {
92
        "model": "db.Image",
93
        "pk": 2,
94
        "fields": {
95
            "name": "Slackware 13.1",
96
            "created": "2011-02-10 00:00:00",
97
            "updated": "2011-02-10 00:00:00",
98
            "state": "ACTIVE",
99
            "size": 1234,
100
            "owner": 1,
101
            "sourcevm": 1001
102
        }
103
    }
104
]