~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/tests/integrated/api_samples/all_extensions/server-get-resp.json.tpl

  • Committer: Package Import Robot
  • Author(s): Adam Gandelman, Adam Gandelman, Chuck Short
  • Date: 2012-08-27 15:37:18 UTC
  • mfrom: (1.1.60)
  • Revision ID: package-import@ubuntu.com-20120827153718-lj8er44eqqz1gsrj
Tags: 2012.2~rc1~20120827.15815-0ubuntu1
[ Adam Gandelman ]
* New upstream release.

[ Chuck Short ]
* debian/patches/0001-Update-tools-hacking-for-pep8-1.2-and-
  beyond.patch: Dropped we dont run pep8 tests anymore.
* debian/control: Drop pep8 build depends
* debian/*.upstart.in: Make sure we transition correctly from runlevel
  1 to 2. (LP: #820694)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "server": {
 
3
        "OS-DCF:diskConfig": "AUTO",
 
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-00000001",
 
7
        "OS-EXT-STS:power_state": 1,
 
8
        "OS-EXT-STS:task_state": null,
 
9
        "OS-EXT-STS:vm_state": "active",
 
10
        "accessIPv4": "",
 
11
        "accessIPv6": "",
 
12
        "addresses": {
 
13
            "private": [
 
14
                {
 
15
                    "addr": "%(ip)s",
 
16
                    "version": 4
 
17
                }
 
18
            ]
 
19
        },
 
20
        "config_drive": "",
 
21
        "created": "%(timestamp)s",
 
22
        "flavor": {
 
23
            "id": "1",
 
24
            "links": [
 
25
                {
 
26
                    "href": "%(host)s/openstack/flavors/1",
 
27
                    "rel": "bookmark"
 
28
                }
 
29
            ]
 
30
        },
 
31
        "hostId": "%(hostid)s",
 
32
        "id": "%(uuid)s",
 
33
        "image": {
 
34
            "id": "%(uuid)s",
 
35
            "links": [
 
36
                {
 
37
                    "href": "%(host)s/openstack/images/%(uuid)s",
 
38
                    "rel": "bookmark"
 
39
                }
 
40
            ]
 
41
        },
 
42
        "key_name": null,
 
43
        "links": [
 
44
            {
 
45
                "href": "%(host)s/v2/openstack/servers/%(uuid)s",
 
46
                "rel": "self"
 
47
            },
 
48
            {
 
49
                "href": "%(host)s/openstack/servers/%(uuid)s",
 
50
                "rel": "bookmark"
 
51
            }
 
52
        ],
 
53
        "metadata": {
 
54
            "My Server Name": "Apache1"
 
55
        },
 
56
        "name": "new-server-test",
 
57
        "progress": 0,
 
58
        "security_groups": [
 
59
            {
 
60
                "name": "default"
 
61
            }
 
62
        ],
 
63
        "status": "ACTIVE",
 
64
        "tenant_id": "openstack",
 
65
        "updated": "%(timestamp)s",
 
66
        "user_id": "fake"
 
67
    }
 
68
}