openstack-python-openstackc.../openstackclient/network
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
..
v2 Add "fields" parameter to ListPort query 2020-11-18 17:42:14 +00:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Make Profile fallback go bye-bye 2018-03-14 10:57:13 -05:00
common.py Remove usage of six 2020-10-07 02:15:25 +00:00
sdk_utils.py Don't display Munch objects in the output 2020-06-17 10:09:36 +00:00
utils.py Refactor security group show to use SDK 2016-03-10 08:33:52 -06:00