Update os_compute_api:os-flavor-extra-specs:index docs for 2.61

The 2.61 microversion relies on this policy rule to determine
if extra specs should be included directly in responses for
the flavor resource directly, specifically showing flavor details,
updating the description of a flavor, and creating a new flavor.

Change-Id: I8d8bc5c74f9eb9a4c36418d36990cf6db78af061
Closes-Bug: #1763741
This commit is contained in:
Matt Riedemann
2018-04-14 08:42:58 -04:00
parent 8a6722ea9c
commit d435f2f03f

View File

@@ -75,7 +75,8 @@ flavor_extra_specs_policies = [
"List extra specs for a flavor. Starting with microversion 2.47, "
"the flavor used for a server is also returned in the response "
"when showing server details, updating a server or rebuilding a "
"server.",
"server. Starting with microversion 2.61, extra specs may be "
"returned in responses for the flavor resource.",
[
{
'path': '/flavors/{flavor_id}/os-extra_specs/',
@@ -97,6 +98,23 @@ flavor_extra_specs_policies = [
{
'path': '/servers/{server_id}/action (rebuild)',
'method': 'POST'
},
# Microversion 2.61 operations for flavors:
{
'path': '/flavors',
'method': 'POST'
},
{
'path': '/flavors/detail',
'method': 'GET'
},
{
'path': '/flavors/{flavor_id}',
'method': 'GET'
},
{
'path': '/flavors/{flavor_id}',
'method': 'PUT'
}
]
),