Comment 6 for bug 1538015

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (feature/osc4)

Reviewed: https://review.openstack.org/493814
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=ff9bd34b3c63c22c96d7a0711939828a38f003d8
Submitter: Jenkins
Branch: feature/osc4

commit ff9bd34b3c63c22c96d7a0711939828a38f003d8
Author: Rui Chen <email address hidden>
Date: Fri Mar 10 17:32:44 2017 +0800

    [Compute]Make column content readable for both human and machine

    Currently, we use utils.format_dict(), utils.format_list(),
    utils.format_list_of_dicts to make column value can be easy to read by
    human, but osc support to format the CLI output into several format,
    like: json, shell, csv, yaml, most of these should be understand by
    program and code, so keeping the column content as the original value
    make sense, like {u'name': u'RuiChen'} than name='RuiChen'

    The patch include all compute commands.

    Change-Id: I313a52f94895625e6045df870320840fee157759
    Implements: blueprint osc-formattable-columns
    Partial-Bug: #1538015
    Partial-Bug: #1538006