bf834f6d75
The 'cpu_info' field returned by the 'os-hypervisors' API is an object and should be formatted as such. However, this is complicated by the fact that the object in this field is stringified until microversion 2.28 and is only returned as an actual object on later microversions. Handle the conversion from the string for older microversions and display things correctly for all releases. Change-Id: Ide31466cbb9e89c96d6bd542fe039ab5ed1fac1f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
---
|
|
fixes:
|
|
- |
|
|
The ``addresses`` and ``flavor`` fields of the ``server show`` command will
|
|
now be correctly rendered as a list of objects and an object, respectively.
|
|
- |
|
|
The ``networks`` and ``properties`` fields of the ``server list`` command
|
|
will now be rendered as objects. In addition, the ``power_state`` field
|
|
will now be humanized and rendered as a string value when using the table
|
|
formatter.
|
|
- |
|
|
The ``usage list`` and ``usage show`` commands will now display the name
|
|
of the project being queried rather than the ID when using the table
|
|
formatter. In addition, the ``server_usages``, ``total_memory_mb_usage``,
|
|
``total_vcpus_usage`` and ``total_local_gb_usage`` values will only be
|
|
humanized when using the table formatter.
|
|
- |
|
|
The ``policies`` (or ``policy``, on newer microversions) and ``members``
|
|
fields of the ``server group list`` and ``server group show`` commands
|
|
will now be rendered correctly as lists.
|
|
- |
|
|
The ``cpu_info`` field of the ``hypervisor show`` output is now
|
|
correctly decoded and output as an object.
|