
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
24 lines
540 B
JSON
24 lines
540 B
JSON
{
|
|
"flavor": {
|
|
"disabled": false,
|
|
"disk": 10,
|
|
"ephemeral": 0,
|
|
"os-flavor-access:is_public": false,
|
|
"id": "10",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/flavors/10",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/flavors/10",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "test_flavor",
|
|
"ram": 1024,
|
|
"swap": 0,
|
|
"vcpus": 2
|
|
}
|
|
}
|