python-novaclient/novaclient
Sylvain Bauza a70de7e590 Add support for microversion 2.28
microversion 2.28 now returns a dict instead of a string for cpu_info item
returned by GET /os-hypervisors/<id>

Fortunately, the utils.flatten_dict() method checks whether it's a JSON field
so the behaviour keeps to be the same for the CLI output of nova hypervisor-show.

That said, the novaclient API call to HypervisorManager.get() will of course
be returning either a dict or a string for the keyed cpu_info given the
microversion.

Co-Authored-By: Andrey Kurilin <andr.kurilin@gmail.com>
Change-Id: I3a8bfcb7672005430ca99bab0d20e25f48a7e0f6
Implements: blueprint nova-api-hypervsor-cpu-info
2016-06-10 21:38:44 +03:00
..
tests Add support for microversion 2.28 2016-06-10 21:38:44 +03:00
v2 Merge "Log request_id for each api call" 2016-06-10 14:35:48 +00:00
__init__.py Add support for microversion 2.28 2016-06-10 21:38:44 +03:00
api_versions.py Update to microversion 2.27 2016-06-01 13:49:57 +00:00
auth_plugin.py [Trivial] change some functions in novaclient/utils.py to public 2016-04-27 20:13:45 +08:00
base.py Remove deprecated volume(snapshot) commands/bindings 2016-04-03 14:05:05 -04:00
client.py Log request_id for each api call 2016-06-08 00:10:55 +00:00
crypto.py Corrects typos "coearse," "proejct," and "unecrypts" 2014-09-18 15:24:54 -07:00
exceptions.py Handle error response for webob>=1.6.0 2016-03-18 19:22:03 -04:00
extension.py Cleanup needless code from oslo-incubator 2015-12-18 08:46:12 +00:00
i18n.py Remove all imports from oslo namespace 2015-04-20 13:52:38 +03:00
service_catalog.py Enable check for E127 2014-10-23 14:28:50 +00:00
shell.py Log request_id for each api call 2016-06-08 00:10:55 +00:00
utils.py [Trivial] change some functions in novaclient/utils.py to public 2016-04-27 20:13:45 +08:00