Merge lp:~jakedahn/nova/lp829687 into lp:~hudson-openstack/nova/trunk
Proposed by
Jake Dahn
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~jakedahn/nova/lp829687 | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
176 lines (+24/-5) 3 files modified
nova/api/openstack/flavors.py (+1/-0) nova/api/openstack/views/flavors.py (+1/-0) nova/tests/api/openstack/test_flavors.py (+22/-5) |
||||
To merge this branch: | bzr merge lp:~jakedahn/nova/lp829687 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Waldon (community) | Needs Fixing | ||
Vish Ishaya | Pending | ||
Joshua McKenty | Pending | ||
Review via email: mp+72259@code.launchpad.net |
Description of the change
Adding vcpu count to flavors details.
To post a comment you must log in.
Unfortunately this is not defined in the spec, so it needs to be registered as an extension. I know it feels ridiculous, but we need to be able to identify when our responses differ from the spec. All you need to do is add an ExtensionDescriptor in contrib. You will also need to update tests to expect the new value you are returning. May I also ask why call this 'vcpu' rather than 'vcpus' or 'cores'?