Get server details with OS-EXT-IPS-MAC:mac_addr extended attribute
Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/servers/detail | Lists details for all servers. Includes the OS-EXT-IPSMAC: mac_addr extended attribute. |
Normal response codes: 200
Request
This table shows the URI parameters for the get server details request:
Name | Type | Description |
---|---|---|
{tenant_id} | String | Project ID |
This operation does not require a request body.
Response
Example. Get server details: JSON response
{
"servers": [
{
"accessIPv4": "",
"accessIPv6": "",
"addresses": {
"private": [
{
"addr": "192.168.0.3",
"version": 4,
"OS-EXT-IPS-MAC:mac_addr": "00:0c:29:e1:42:90"
}
]
},
"created": "2013-02-07T18:40:59Z",
"flavor": {
"id": "1",
"links": [
{
"href": "http://openstack.example.com/openstack/flavors/1",
"rel": "bookmark"
}
]
},
"hostId":
"fe866a4962fe3bdb6c2db9c8f7dcdb9555aca73387e72b5cb9c45bd3",
"id": "76908712-653a-4d16-807e-d89d41435d24",
"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/76908712-653a-4d16-807e-d89d41435d24",
"rel": "self"
},
{
"href": "http://openstack.example.com/openstack/servers/76908712-653a-4d16-807e-d89d41435d24",
"rel": "bookmark"
}
],
"metadata": {
"My Server Name": "Apache1"
},
"name": "new-server-test",
"progress": 0,
"status": "ACTIVE",
"tenant_id": "openstack",
"updated": "2013-02-07T18:40:59Z",
"user_id": "fake"
}
]
}