openstack-python-openstackc.../openstackclient/tests/unit
Matt Riedemann da7572a5ff Fix server show for microversion 2.47
Compute API version 2.47 embeds the server's internal
flavor in the response. The original flavor id is not
preserved since it could have changed if the flavor
was deleted and re-created after the server was created,
which was the dreaded Horizon "Edit Flavor" issue.
So the flavor dict in the server response is a dict of
information about the flavor representing the server
"right now" excluding the id. The original flavor name
is shown though along with the ram/disk/vcpu etc
information.

The server list command has a similar issue which
will be fixed in a follow up change.

Change-Id: I1a92999758006d02567c542b6be8902a049899cc
Task: 13864
Story: 1751104
2018-06-08 15:52:31 -04:00
..
api Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
common Fix limits show command without Nova and Cinder 2018-04-03 00:47:00 -07:00
compute Fix server show for microversion 2.47 2018-06-08 15:52:31 -04:00
identity Merge "Add CRUD support for application credentials" 2018-03-14 02:16:35 +00:00
image Add support to list image members 2018-03-21 08:56:08 -04:00
integ Fix SDK Connection creation alternative to Profile 2017-12-07 08:10:23 -06:00
network Allow setting network-segment on subnet update 2018-06-06 11:56:39 +02:00
object Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
volume Fix limits show command without Nova and Cinder 2018-04-03 00:47:00 -07:00
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py Fix limits show command without Nova and Cinder 2018-04-03 00:47:00 -07:00
test_shell.py Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00
utils.py Use flake8-import-order plugin 2017-08-17 06:55:00 +00:00