openstack-python-openstackc.../openstackclient
Rodolfo Alonso Hernandez 8387b114e3 Add "fields" parameter to ListPort query
This new query parameter will allow to send a query to the Neutron
server filtering only by those parameters needed by the list
command: ID, name, MAC address, fixed IPs and status.

When using input parameter "long", security groups IDs, device owner
and tags will be added to the fields filter.

With 4500 ports, those are the execution times for the command
"openstack port list" (average values in a development environment):

                 Neutron API (seconds)  CLI (seconds)
Without filter:  3.05                   10.15
With filter:     2.76                   8.19

Depends-On: https://review.opendev.org/#/c/754113/

Change-Id: I1cccf0bc3533f8085e8dd61bf2fbe78c49b74b31
Closes-Bug: #1897100
2020-11-18 17:42:14 +00:00
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Remove usage of six 2020-10-07 02:15:25 +00:00
compute Merge "Add a few selectable fields to the "openstack server list" output" 2020-11-18 13:28:55 +00:00
identity Remove usage of six 2020-10-07 02:15:25 +00:00
image Restore behavior of image create with same name. 2020-10-06 14:05:11 +11:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Add "fields" parameter to ListPort query 2020-11-18 17:42:14 +00:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests Add "fields" parameter to ListPort query 2020-11-18 17:42:14 +00:00
volume Allow to resize in-use volumes 2020-11-11 09:18:49 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00