Show server information with OS-EXT-IPS-MAC:mac_addr extended attribute

Method URI Description
GET /v2/{tenant_id}/servers/{server_id} 指定したサーバの情報を表示します。拡張属性のOSEXT-IPS-MAC:mac_addrを含む。

Normal response codes: 200

Request

下表は、サーバ情報表示リクエストのURIパラメーターの一覧です。

Name Type Description
{tenant_id} String プロジェクトID
{server_id} UUID 対象とする仮想サーバの仮想サーバID

本操作ではリクエストボディ部の指定は不要です。

Response

Example. Show server information: JSON response


{
	"server": {
		"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:46:28Z",
		"flavor": {
			"id": "1",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/flavors/1",
					"rel": "bookmark"
				}
			]
		},
		"hostId": "4e2003eddbfdb1280c2618d04090bcdd6773203b8da8347af0b2723d",
		"id": "dc7281f9-ee47-40b9-9950-9f73e7961caa",
		"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/dc7281f9-ee47-40b9-9950-9f73e7961caa",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/servers/dc7281f9-ee47-40b9-9950-9f73e7961caa",
				"rel": "bookmark"
			}
		],
		"metadata": {
			"My Server Name": "Apache1"
		},
		"name": "new-server-test",
		"progress": 0,
		"status": "ACTIVE",
		"tenant_id": "openstack",
		"updated": "2013-02-07T18:46:29Z",
		"user_id": "fake"
	}
}