CLI should show ordered response

Bug #1668222 reported by Sulochan Acharya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Craton's Python Client
New
High
Unassigned

Bug Description

(test_client) root@osic-craton-api01:~/test_client/python-cratonclient# craton host-list -r4
+-------------+--------+----+---------+----------------------------------+
| device_type | active | id | cell_id | name |
+-------------+--------+----+---------+----------------------------------+
| baremetal | True | 41 | None | compute144 |
| baremetal | True | 42 | None | compute173 |
| baremetal | True | 43 | None | compute422 |
| baremetal | True | 44 | None | compute195 |
| baremetal | True | 45 | None | compute535 |
| baremetal | True | 46 | None | compute224 |
| baremetal | True | 47 | None | compute186 |
| baremetal | True | 48 | None | compute139 |
| baremetal | True | 49 | None | compute574 |
| baremetal | True | 50 | None | compute587 |
| baremetal | True | 51 | None | compute424 |
| baremetal | True | 52 | None | compute354 |
| baremetal | True | 53 | None | compute484 |
| baremetal | True | 54 | None | compute342 |
| baremetal | True | 55 | None | compute533 |
| baremetal | True | 56 | None | compute406 |
| baremetal | True | 57 | None | compute523 |
| baremetal | True | 58 | None | compute244 |
| baremetal | True | 59 | None | compute293 |
| baremetal | True | 60 | None | compute-24 |
| baremetal | True | 61 | None | compute455 |
| baremetal | True | 62 | None | compute404 |
| server | True | 32 | 7 | host0.DFW.C0001.C-1.example1.com |
| server | True | 33 | 7 | host1.DFW.C0001.C-1.example1.com |
| server | True | 34 | 7 | host0.DFW.C0001.C-2.example2.com |
| server | True | 35 | 7 | host1.DFW.C0001.C-2.example2.com |
| server | True | 37 | 8 | host0.DFW.C0002.C-1.example1.com |
| server | True | 38 | 8 | host1.DFW.C0002.C-1.example1.com |
| server | True | 39 | 8 | host0.DFW.C0002.C-2.example2.com |
| server | True | 40 | 8 | host1.DFW.C0002.C-2.example2.com |
+-------------+--------+----+---------+----------------------------------+

the order on which items are displyed is random. It should really be ID, device_type etc .. with ID as the first row. Right now every display is different.

Changed in python-cratonclient:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.