nova/releasenotes/notes/add-extra-specs-to-flavor-list-362a4794c0871f2f.yaml
Yikun Jiang 0baba40b1b Add microversion to support extra_specs in flavor API.
Exposes flavor extra_specs in the flavor representation since
microversion 2.61. Now users can see the flavor extra-specs
in flavor APIs response only and do not need to call
``GET /flavors/{flavor_id}/extra_specs`` API.

Flavor extra_specs will be included in Response body of the
following APIs:

* ``GET /flavors/detail``
* ``GET /flavors/{flavor_id}``
* ``POST /flavors``
* ``PUT /flavors/{flavor_id}``

Part of blueprint add-extra-specs-to-flavor-list

Change-Id: I048747633babf690a63c6de9773bff5547872053
2018-04-11 17:47:57 +08:00

19 lines
734 B
YAML

---
features:
- |
Exposes flavor extra_specs in the flavor representation since microversion
2.61. Flavor extra_specs will be included in Response body of the
following APIs:
* ``GET /flavors/detail``
* ``GET /flavors/{flavor_id}``
* ``POST /flavors``
* ``PUT /flavors/{flavor_id}``
Now users can see the flavor extra-specs in flavor APIs response and do
not need to call ``GET /flavors/{flavor_id}/os-extra_specs`` API. The
visibility of the flavor extra_specs within the flavor resource will be
controlled by the same policy rules as are used for showing the flavor
extra_specs. If the user has no access to query extra_specs, the
``flavor.extra_specs`` will not be included.