nova/doc/v3/api_samples/os-volumes/attach-volume-to-server-req.json
ghanshyam d2367ea1d2 Port volume_attachments extension to v2.1 API
This patch ports v2 volume_attachments & volume_attachment_update
extension to v2.1.
Unittest code modified to share testing with both v2/v2.1.
API sample file and their tests have been added.

Partially implements blueprint v2-on-v3-api

Change-Id: Icf63529f317bc61debc665641d1c9d9f2e45bcec
2014-11-19 12:39:40 +09:00

6 lines
124 B
JSON

{
"volumeAttachment": {
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
"device": "/dev/vdd"
}
}