8c168dd4fd
This moves the servers detail test into the base servers test so it runs with all_extensions as well. It also renames the results to be consistent with the other tests. Finally it adds test for servers-list both with and without extensions. Change-Id: I6eed3932fa594f1a39faa55453461680781e6a9f
69 lines
2.3 KiB
JSON
69 lines
2.3 KiB
JSON
{
|
|
"servers": [
|
|
{
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"OS-EXT-SRV-ATTR:host": "1ed961df12f5434a8e54e0efd1049fa5",
|
|
"OS-EXT-SRV-ATTR:hypervisor_hostname": null,
|
|
"OS-EXT-SRV-ATTR:instance_name": "instance-00000001",
|
|
"OS-EXT-STS:power_state": 1,
|
|
"OS-EXT-STS:task_state": null,
|
|
"OS-EXT-STS:vm_state": "active",
|
|
"accessIPv4": "",
|
|
"accessIPv6": "",
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"config_drive": "",
|
|
"created": "2012-09-12T17:16:15Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "c161a6e3edcd047317a6cfbe599d7711850fd871210b62fdd2f6479e",
|
|
"id": "1d0f60bc-8c90-425d-8c64-cdaa49cd2303",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/servers/1d0f60bc-8c90-425d-8c64-cdaa49cd2303",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/servers/1d0f60bc-8c90-425d-8c64-cdaa49cd2303",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"progress": 0,
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2012-09-12T17:16:15Z",
|
|
"user_id": "fake"
|
|
}
|
|
]
|
|
} |