nova/doc/v3/api_samples/flavor-access/flavor-access-create-req.json
jichenjc d9b729f5ad Change v3 flavor_access to v2.1
This patch changes v3 flavor_access API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I75891e76753fba937b4a01f592afb4bd03aacd9c
2014-09-01 16:01:31 +09:30

11 lines
182 B
JSON

{
"flavor": {
"name": "test_flavor",
"ram": 1024,
"vcpus": 2,
"disk": 10,
"id": "10",
"os-flavor-access:is_public": false
}
}