Hypervisor-list doesn't show all the attributes of the server response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Undecided
|
Haiwei Xu |
Bug Description
Currently hypervisor-list only shows 'ID' and 'Hypervisor hostname', but in fact nova server response also contains 'state' and 'status'
attributes, it's better to show all the attributes.
REQ: curl -i 'http://
RESP: [200] {'date': 'Thu, 02 Oct 2014 10:08:45 GMT', 'content-length': '97', 'content-type': 'application/json', 'x-compute-
RESP BODY: {"hypervisors": [{"status": "enabled", "state": "up", "id": 1, "hypervisor_
+----+-
| ID | Hypervisor hostname |
+----+-
| 1 | xu-dev |
+----+-
Changed in python-novaclient: | |
assignee: | nobody → Haiwei Xu (xu-haiwei) |
Changed in python-novaclient: | |
status: | New → In Progress |
Changed in python-novaclient: | |
milestone: | none → 2.21.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/125588 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=9d5164aceea 3a922a3df1bdac1 310a48ed50f3e9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9d5164aceea3a92 2a3df1bdac1310a 48ed50f3e9
Author: Haiwei Xu <email address hidden>
Date: Thu Oct 2 19:24:37 2014 +0900
Show 'state' and 'status' in hypervisor-list
Currently hypervisor-list only shows 'ID' and 'Hypervisor hostname',
but in fact nova server response also contains 'state' and 'status'
attributes, it's better to show all the attributes.
Change-Id: I97cd18a8451dc5 15c5fb19841f11d 0e85bd0b484
Closes-Bug: #1376664