
This patch port extended_ips/extended_ips_mac extension to V2.1 There are difference between V2 and V3 server show/index & server address index API response listed below- 'address' field of V2->V3 API response- "OS-EXT-IPS:type" -> "type" "OS-EXT-IPS-MAC:mac_addr" -> "mac_addr" Reverting those attribute same as V2 to work with V2.1 Closes-Bug: #1368495 Partially implements blueprint v2-on-v3-api Change-Id: I44902b0402115d1b6e833975e6c2f020ac5ab7c3
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"server": {
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"OS-EXT-IPS-MAC:mac_addr": "aa:bb:cc:dd:ee:ff",
|
|
"OS-EXT-IPS:type": "fixed",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"adminPass": "99WHAxN8gpvg",
|
|
"created": "2013-11-06T07:51:09Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"hostId": "5c8072dbcda8ce3f26deb6662bd7718e1a6d349bdf2296911d1be4ac",
|
|
"id": "53a63a19-c145-47f8-9ae5-b39d6bff33ec",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/53a63a19-c145-47f8-9ae5-b39d6bff33ec",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/53a63a19-c145-47f8-9ae5-b39d6bff33ec",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"meta_var": "meta_val"
|
|
},
|
|
"name": "new-server-test",
|
|
"accessIPv4": "4.3.2.1",
|
|
"accessIPv6": "80fe::",
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2013-11-06T07:51:11Z",
|
|
"user_id": "fake"
|
|
}
|
|
}
|