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

b/snf-cyclades-app/synnefo/db/fixtures/db_test_data.json
1 1
[
2 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
    {
3 13
        "model": "db.Flavor",
4 14
        "pk": 30000,
5 15
        "fields": {
......
18 28
        }
19 29
    },
20 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
    {
21 42
        "model": "db.VirtualMachine",
22 43
        "pk": 30000,
23 44
        "fields": {
......
27 48
            "imageid": "30000",
28 49
            "hostid": "HAL-9000",
29 50
            "flavor": 30000,
30
            "operstate": "STARTED"
51
            "operstate": "STARTED",
52
            "backend": 30000
31 53
        }
32 54
    },
33 55
    {
......
40 62
            "imageid": "30000",
41 63
            "hostid": "HAL-9000",
42 64
            "flavor": 30000,
43
            "operstate": "STOPPED"
65
            "operstate": "STOPPED",
66
            "backend": 30000
44 67
        }
45 68
    },
46 69
    {
......
53 76
            "imageid": "30000",
54 77
            "hostid": "HAL-9000",
55 78
            "flavor": 30000,
56
            "operstate": "BUILD"
79
            "operstate": "BUILD",
80
            "backend": 30000
57 81
        }
58 82
    }
59 83
]

Also available in: Unified diff