API error while running command "slcli report bandwith". The error says "Column (hostname) doesn't exist to sort by".
C:\>slcli report bandwidth
Generating bandwidth report for 2017-08-16 00:00:00 to 2017-09-15 00:00:00
Calculating for bandwidth pools [####################################] 100%
Calculating for virtual [####################################] 100%
Calculating for hardware [####################################] 100%
Column (hostname) doesn't exist to sort by
Reviewing the source code I noticed that it can be fixed by modifying the line 183 of bandwidth.py file
I changed the value default='hostname' by default='name'. I'm using this workaround at the moment.
Environment:
python version: 2.7.13
slcli version: 5.2.12