Added pagination support to the networks page under
Project and Admin Dashboard.
To accomplish so, the method network_list_for_tenant
in api/neutron.py that is used for listing networks under
the Project Dashboard was refactored to merge the different
requests for shared, non-shared and external networks while
tracking the pagination for each of those requests, so for
instance when all the shared networks are listed and paginated
then the non-shared networks are queried and so on.
For the Admin dashboard all network types are retrieved under
a single request so it is a simpler pagination logic.
Reviewed: https:/ /review. opendev. org/c/openstack /horizon/ +/806454 /opendev. org/openstack/ horizon/ commit/ 196de449b6f7be3 707cfd08fd1099c 4ed792fba0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 196de449b6f7be3 707cfd08fd1099c 4ed792fba0
Author: Rodrigo Barbieri <email address hidden>
Date: Wed Aug 25 17:52:29 2021 -0300
Implement pagination in admin/proj network tab
Added pagination support to the networks page under
Project and Admin Dashboard.
To accomplish so, the method network_ list_for_ tenant
in api/neutron.py that is used for listing networks under
the Project Dashboard was refactored to merge the different
requests for shared, non-shared and external networks while
tracking the pagination for each of those requests, so for
instance when all the shared networks are listed and paginated
then the non-shared networks are queried and so on.
For the Admin dashboard all network types are retrieved under
a single request so it is a simpler pagination logic.
Partial-Bug: #1746184 89bdc02ec922d7f 9451e5ec025
Change-Id: I96a2d6cabed47c