Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / helpdesk / fixtures / helpdesk_test.json @ 9fd36718

History | View | Annotate | Download (2.5 kB)

1
[
2
    {
3
        "model": "db.VirtualMachine",
4
        "pk": 1001,
5
        "fields": {
6
            "userid": "testuser@test.com",
7
            "name": "user1 vm",
8
            "created": "2011-02-06 00:00:00",
9
            "updated": "2011-02-06 00:00:00",
10
            "imageid": "1",
11
            "hostid": "HAL-9000",
12
            "flavor": 1,
13
            "operstate": "STOPPED"
14
        }
15
    },
16
    {
17
        "model": "db.VirtualMachine",
18
        "pk": 1002,
19
        "fields": {
20
            "userid": "testuser2@test.com",
21
            "name": "user2 vm1",
22
            "created": "2011-02-10 00:00:00",
23
            "updated": "2011-02-10 00:00:00",
24
            "imageid": "1",
25
            "hostid": "HAL-9000",
26
            "flavor": 1,
27
            "operstate": "BUILD"
28
        }
29
    },
30
    {
31
        "model": "db.VirtualMachine",
32
        "pk": 1003,
33
        "fields": {
34
            "userid": "testuser2@test.com",
35
            "name": "user2 vm2",
36
            "created": "2011-02-10 00:00:00",
37
            "updated": "2011-02-10 00:00:00",
38
            "imageid": "1",
39
            "hostid": "HAL-9000",
40
            "flavor": 1,
41
            "operstate": "BUILD"
42
        }
43
    },
44
    {
45
        "model": "db.VirtualMachineMetadata",
46
        "pk": 1,
47
        "fields": {
48
            "meta_key": "OS",
49
            "meta_value": "debian",
50
            "vm": 1001
51
        }
52
    },
53
    {
54
        "model": "db.Flavor",
55
        "pk": 1,
56
        "fields": {
57
            "cpu": 1,
58
            "ram": 1024,
59
            "disk": 20
60
        }
61
    },
62
    {
63
        "model": "db.Network",
64
        "pk": 1,
65
        "fields": {
66
            "name": "public",
67
            "created": "2011-04-01",
68
            "updated": "2011-04-01",
69
            "state": "ACTIVE",
70
            "public": 1,
71
            "link": 1
72
        }
73
    },
74
    {
75
        "model": "db.NetworkInterface",
76
        "pk": 2,
77
        "fields": {
78
            "ipv4": "195.251.222.211",
79
            "network": 2,
80
            "machine": 1002
81
        }
82
    },
83
    {
84
        "model": "db.Network",
85
        "pk": 2,
86
        "fields": {
87
            "name": "public",
88
            "created": "2011-04-01",
89
            "updated": "2011-04-01",
90
            "state": "ACTIVE",
91
            "public": 0,
92
            "link": 1,
93
            "userid": "testuser@test.com"
94
        }
95
    },
96
    {
97
        "model": "db.NetworkInterface",
98
        "pk": 1,
99
        "fields": {
100
            "index": 0,
101
            "machine": 1,
102
            "network": 1,
103
            "mac": "00:11"
104
        }
105
    }
106
]