ext-list should define the default columns

Bug #1161866 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
Akihiro Motoki

Bug Description

No default columns is defined for extension list.

We often use ext-list with "quantum ext-list -c alias -c name".
It is useful to define the default column to "alias" and "name".

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-quantumclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/25706

Changed in python-quantumclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-quantumclient (master)

Reviewed: https://review.openstack.org/25706
Committed: http://github.com/openstack/python-quantumclient/commit/b95000665d8f7a56c7b522f5b07000ebb1052e39
Submitter: Jenkins
Branch: master

commit b95000665d8f7a56c7b522f5b07000ebb1052e39
Author: Akihiro MOTOKI <email address hidden>
Date: Wed Feb 27 19:13:54 2013 +0900

    Set default columns in ext-list

    Previously ext-list does not inherits ListCommand base class for listing
    and cannot specify columns to display. This commit changes ext-list to
    use ListCommand and adds a unit test for extensions.

    This also changes the default value of _formatters in ListCommand to {}.
    By this subclasses no longer override _formatters unless required.

    Fixes bug 1161866

    Change-Id: Ifd9ab54d4e84a2b7a1d7eecd67f6270ec643db1d

Changed in python-quantumclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
status: Fix Committed → Fix Released
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.