Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / db / fixtures / db_test_data.json @ 47eeffa9

History | View | Annotate | Download (1.9 kB)

1
[
2
    {
3
        "model": "db.Backend",
4
        "pk": 30000,
5
        "fields": {
6
            "clustername": "test",
7
            "port": 5080,
8
            "drained": false,
9
            "index": 3
10
        }
11
    },
12
    {
13
        "model": "db.Flavor",
14
        "pk": 30000,
15
        "fields": {
16
            "cpu": 1,
17
            "ram": 1024,
18
            "disk": 10
19
        }
20
    },
21
    {
22
        "model": "db.Flavor",
23
        "pk": 30001,
24
        "fields": {
25
            "cpu": 1,
26
            "ram": 1024,
27
            "disk": 20
28
        }
29
    },
30
    {
31
       "model": "db.Network",
32
       "pk": 30000,
33
       "fields": {
34
          "subnet": "10.0.0.0/24",
35
          "gateway": "10.0.0.1",
36
          "flavor": "IP_LESS_ROUTED",
37
          "public": true,
38
          "mac_prefix": "aa:00:0"
39
       }
40
    },
41
    {
42
        "model": "db.VirtualMachine",
43
        "pk": 30000,
44
        "fields": {
45
            "userid": "test",
46
            "name": "snf-1001",
47
            "created": "2009-02-06 00:00:00",
48
            "imageid": "30000",
49
            "hostid": "HAL-9000",
50
            "flavor": 30000,
51
            "operstate": "STARTED",
52
            "backend": 30000
53
        }
54
    },
55
    {
56
        "model": "db.VirtualMachine",
57
        "pk": 30001,
58
        "fields": {
59
            "userid": "test",
60
            "name": "snf-1002",
61
            "created": "2009-02-06 00:00:00",
62
            "imageid": "30000",
63
            "hostid": "HAL-9000",
64
            "flavor": 30000,
65
            "operstate": "STOPPED",
66
            "backend": 30000
67
        }
68
    },
69
    {
70
        "model": "db.VirtualMachine",
71
        "pk": 30002,
72
        "fields": {
73
            "userid": "test",
74
            "name": "snf-test-building",
75
            "created": "2009-02-06 00:00:00",
76
            "imageid": "30000",
77
            "hostid": "HAL-9000",
78
            "flavor": 30000,
79
            "operstate": "BUILD",
80
            "backend": 30000
81
        }
82
    }
83
]