extra-specs should be added to the flavor show and detail calls

Registered by Aarti Kriplani

Making the flavor show/detail call return flavor data along with the extra specs of that flavor.
This will help reduce the number of calls we make to display the flavor data.

This is for v3 only.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Aarti Kriplani
Direction:
Approved
Assignee:
Yikun Jiang
Definition:
Approved
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
milestone icon rocky-1
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Marking as Needs Code Review, we seem to have code up for this --johnthetubaguy

Deferred to icehouse-3 as the blueprint was not approved by the icehouse-2 blueprint approval deadline. --russellb

In the v2 API, it has to be a new extension. --russellb

[alaski] At this point I would rather this be v3 only. This information is available in v2, just a bit unwieldy to get at. In v3 it could be done cleanly from the start.

[aditi] Adding this as a feature in flavors controller, instead of adding a new extension in v3. So, this
will become the default behavior of flavor show and detail calls in v3.

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-extra-specs-to-flavor-list,n,z

Addressed by: https://review.openstack.org/39920
    Adding extra specs to flavor show and detail call.

This is v3 only, so punting this one for now --johnthetubaguyMarking as Needs Code Review, we seem to have code up for this --johnthetubaguy

Deferred to icehouse-3 as the blueprint was not approved by the icehouse-2 blueprint approval deadline. --russellb

In the v2 API, it has to be a new extension. --russellb

[alaski] At this point I would rather this be v3 only. This information is available in v2, just a bit unwieldy to get at. In v3 it could be done cleanly from the start.

[aditi] Adding this as a feature in flavors controller, instead of adding a new extension in v3. So, this
will become the default behavior of flavor show and detail calls in v3.

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-extra-specs-to-flavor-list,n,z

Addressed by: https://review.openstack.org/39920
    Adding extra specs to flavor show and detail call.

This is v3 only, so punting this one for now --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)Marking as Needs Code Review, we seem to have code up for this --johnthetubaguy

Deferred to icehouse-3 as the blueprint was not approved by the icehouse-2 blueprint approval deadline. --russellb

In the v2 API, it has to be a new extension. --russellb

[alaski] At this point I would rather this be v3 only. This information is available in v2, just a bit unwieldy to get at. In v3 it could be done cleanly from the start.

[aditi] Adding this as a feature in flavors controller, instead of adding a new extension in v3. So, this
will become the default behavior of flavor show and detail calls in v3.

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-extra-specs-to-flavor-list,n,z

Addressed by: https://review.openstack.org/39920
    Adding extra specs to flavor show and detail call.

This is v3 only, so punting this one for now --johnthetubaguyMarking as Needs Code Review, we seem to have code up for this --johnthetubaguy

Deferred to icehouse-3 as the blueprint was not approved by the icehouse-2 blueprint approval deadline. --russellb

In the v2 API, it has to be a new extension. --russellb

[alaski] At this point I would rather this be v3 only. This information is available in v2, just a bit unwieldy to get at. In v3 it could be done cleanly from the start.

[aditi] Adding this as a feature in flavors controller, instead of adding a new extension in v3. So, this
will become the default behavior of flavor show and detail calls in v3.

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-extra-specs-to-flavor-list,n,z

Addressed by: https://review.openstack.org/39920
    Adding extra specs to flavor show and detail call.

This is v3 only, so punting this one for now --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

[aditi] Added nova-spec: https://review.openstack.org/#/c/95408/

Huawei wants this same feature so we are going to re-propose it for Rocky. -- mriedem 20180207

Addressed by: https://review.openstack.org/544158
    Add extra-specs to the flavor show and detail API calls

Spec is approved for Rocky. I've changed the owner to Yikun since Kevin told me Yikun would take over this work. -- mriedem 20180315

Addressed by: https://review.openstack.org/554134
    Amend the "add extra-specs to flavor" for create and update API

Addressed by: https://review.openstack.org/554159
    [WIP] Add microversion to support extra_specs in flavor API.

The compute REST API change is now merged but don't forget to add a python-novaclient change for this. -- mriedem 20180414

The python-novaclient change is: https://review.openstack.org/#/c/561520/ -- mriedem 20180416

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.