~james-page/ubuntu/raring/nova/myfixes

« back to all changes in this revision

Viewing changes to nova/tests/integrated/api_samples/OS-EXT-SRV-ATTR/extended-server-attrs-list.json.tpl

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-09-20 07:45:50 UTC
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20120920074550-ir9euteqh5gt4ja8
Tags: upstream-2012.2~rc1
ImportĀ upstreamĀ versionĀ 2012.2~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "servers": [
 
3
        {
 
4
            "OS-EXT-SRV-ATTR:host": "%(compute_host)s",
 
5
            "OS-EXT-SRV-ATTR:hypervisor_hostname": null,
 
6
            "OS-EXT-SRV-ATTR:instance_name": "%(instance_name)s",
 
7
            "accessIPv4": "",
 
8
            "accessIPv6": "",
 
9
            "addresses": {
 
10
                "private": [
 
11
                    {
 
12
                        "addr": "%(ip)s",
 
13
                        "version": 4
 
14
                    }
 
15
                ]
 
16
            },
 
17
            "created": "%(timestamp)s",
 
18
            "flavor": {
 
19
                "id": "1",
 
20
                "links": [
 
21
                    {
 
22
                        "href": "%(host)s/openstack/flavors/1",
 
23
                        "rel": "bookmark"
 
24
                    }
 
25
                ]
 
26
            },
 
27
            "hostId": "%(hostid)s",
 
28
            "id": "%(id)s",
 
29
            "image": {
 
30
                "id": "%(uuid)s",
 
31
                "links": [
 
32
                    {
 
33
                        "href": "%(host)s/openstack/images/%(uuid)s",
 
34
                        "rel": "bookmark"
 
35
                    }
 
36
                ]
 
37
            },
 
38
            "links": [
 
39
                {
 
40
                    "href": "%(host)s/v2/openstack/servers/%(id)s",
 
41
                    "rel": "self"
 
42
                },
 
43
                {
 
44
                    "href": "%(host)s/openstack/servers/%(id)s",
 
45
                    "rel": "bookmark"
 
46
                }
 
47
            ],
 
48
            "metadata": {
 
49
                "My Server Name": "Apache1"
 
50
            },
 
51
            "name": "new-server-test",
 
52
            "progress": 0,
 
53
            "status": "ACTIVE",
 
54
            "tenant_id": "openstack",
 
55
            "updated": "%(timestamp)s",
 
56
            "user_id": "fake"
 
57
        }
 
58
    ]
 
59
}
 
 
b'\\ No newline at end of file'