python-openstackclient/openstackclient
Akihiro Motoki 0626f95579 Allow port list to shown undefined attributes
At now, OSC command implementation extracts resource attributes based on
a predefined column list, so if a user specifies an unknown attribute
not defined in the column lists, such attribute will be ignored.

In case of 'port list', the neutron port defines many attributes and
it is not a good idea to show all attributes even in the long mode
from the perspective of user experience.

This commit consumes osc_lib.utils.calculate_headers_and_attrs()
function to show undefined port attributes if requested in -c option.

Closes-Bug: #1707848
Depends-On: I6c6bc3c6e3c769c96869fd76b9d9c1661280850e
Change-Id: I130a6aed41d80603698b6cab0c9a1d1dc59df743
2017-11-24 22:45:06 +00:00
..
api Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
common Be robust on import plugin module 2017-10-07 17:07:24 -04:00
compute Remove hard-coded policy choices for creating a server group 2017-11-19 18:45:28 -05:00
identity Optimize getting endpoint list 2017-09-26 14:31:07 -07:00
image Accept 0 for --min-disk and --min-ram 2017-10-20 19:48:37 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2017-08-16 07:50:55 +00:00
network Allow port list to shown undefined attributes 2017-11-24 22:45:06 +00:00
object Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
tests Allow port list to shown undefined attributes 2017-11-24 22:45:06 +00:00
volume Replace "Display Name" by "Name" in volume list 2017-05-26 11:37:09 +08:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Useless line of code in shell.py 2017-09-08 06:28:15 +00:00