d61d1f62da
This patch enable extension access_ips, remove old 'access_ip_*' attributes and related unittest from servers core. And remove old attributes from api samples. Partially implements bp nova-v3-api DocImpact Change-Id: Id4c8bb721550e317e0695d7876e2faa3d6e91a60
61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
{
|
|
"servers": [
|
|
{
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"mac_addr": "aa:bb:cc:dd:ee:ff",
|
|
"type": "fixed",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"created": "2013-09-16T02:55:03Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"host_id": "63cf07a9fd82e1d2294926ec5c0d2e1e0ca449224246df75e16f23dc",
|
|
"id": "a8c1c13d-ec7e-47c7-b4ff-077f72c1ca46",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"key_name": null,
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/a8c1c13d-ec7e-47c7-b4ff-077f72c1ca46",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/a8c1c13d-ec7e-47c7-b4ff-077f72c1ca46",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"os-extended-server-attributes:host": "bc8efe4fdb7148a4bb921a2b03d17de6",
|
|
"os-extended-server-attributes:hypervisor_hostname": "fake-mini",
|
|
"os-extended-server-attributes:instance_name": "instance-00000001",
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2013-09-16T02:55:05Z",
|
|
"user_id": "fake"
|
|
}
|
|
]
|
|
}
|