nova/doc/api_samples/os-flavor-swap/flavor-swap-post-resp.json
Giampaolo Lauria 35328ddd8f Added sample tests to FlavorSwap API.
Partially implements blueprint nova-api-samples
Fixes bug 1096653

Change-Id: I9a6ca8a023bf0f3404b3a9af635dd29a7a584aa3
2013-01-09 20:47:23 -05:00

20 lines
465 B
JSON

{
"flavor": {
"disk": 10,
"id": "100",
"links": [
{
"href": "http://openstack.example.com/v2/openstack/flavors/100",
"rel": "self"
},
{
"href": "http://openstack.example.com/openstack/flavors/100",
"rel": "bookmark"
}
],
"name": "flavortest",
"ram": 1024,
"swap": 5,
"vcpus": 2
}
}