From 196de449b6f7be3707cfd08fd1099c4ed792fba0 Mon Sep 17 00:00:00 2001 From: Rodrigo Barbieri Date: Wed, 25 Aug 2021 17:52:29 -0300 Subject: 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 Change-Id: I96a2d6cabed47c89bdc02ec922d7f9451e5ec025 --- releasenotes/notes/add-networks-pagination-4c05d784998fafb2.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 releasenotes/notes/add-networks-pagination-4c05d784998fafb2.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/add-networks-pagination-4c05d784998fafb2.yaml b/releasenotes/notes/add-networks-pagination-4c05d784998fafb2.yaml new file mode 100644 index 000000000..aca0e64ef --- /dev/null +++ b/releasenotes/notes/add-networks-pagination-4c05d784998fafb2.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixed lack of pagination for the networks page under Project and + Admin Dashboard. -- cgit v1.2.1