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