Comment 3 for bug 1850639

Revision history for this message
LIU Yulong (dragon889) wrote :

We have a stable/queens deployment, it has 1200+ floating ips, here is the result in neutron-server:
2019-10-31 18:49:33.157 725356 INFO neutron.wsgi [None req-d1625269-5142-4f98-973f-2ba0aebbc788 570ad5d4a77b48d49670d6d0ce5ba4be 0805323d5b8a4f68b791e621a6236bc7 - default default] 12.129.209.197 "GET /v2.0/floatingips HTTP/1.1" status: 200 len: 878126 time: 8.4739108

IMO, 8.47s+ is acceptable. The CLI shows a bit long time, IMO, the data transfer and resolving data structure is time-consuming. So I'd like to this is more like a client issue, openstackclient does not support pagination for floating ip list.

# openstack help floating ip list
usage: openstack floating ip list [-h] [-f {csv,json,table,value,yaml}]
                                  [-c COLUMN] [--max-width <integer>]
                                  [--fit-width] [--print-empty] [--noindent]
                                  [--quote {all,minimal,none,nonnumeric}]
                                  [--sort-column SORT_COLUMN]
                                  [--network <network>] [--port <port>]
                                  [--fixed-ip-address <ip-address>] [--long]
                                  [--status <status>] [--project <project>]
                                  [--project-domain <project-domain>]
                                  [--router <router>]
                                  [--tags <tag>[,<tag>,...]]
                                  [--any-tags <tag>[,<tag>,...]]
                                  [--not-tags <tag>[,<tag>,...]]
                                  [--not-any-tags <tag>[,<tag>,...]]

This is the help text of openstack server list:
# openstack help server list
usage: openstack server list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
                             [--max-width <integer>] [--fit-width]
                             [--print-empty] [--noindent]
                             [--quote {all,minimal,none,nonnumeric}]
                             [--sort-column SORT_COLUMN]
                             [--reservation-id <reservation-id>]
                             [--ip <ip-address-regex>]
                             [--ip6 <ip-address-regex>] [--name <name-regex>]
                             [--instance-name <server-name>]
                             [--status <status>] [--flavor <flavor>]
                             [--image <image>] [--host <hostname>]
                             [--all-projects] [--project <project>]
                             [--project-domain <project-domain>]
                             [--user <user>] [--user-domain <user-domain>]
                             [--long] [-n] [--marker <server>]
                             [--limit <num-servers>] [--deleted]
                             [--changes-since <changes-since>]