Implement pagination for a shares list in Manila UI

Registered by Dina Saparbaeva on 2021-01-18

 Currently pagination is not implementedin Manila UI. If there are 100 file shares on a shares list,
table just becomes long and all displayed on one page.
Pagination needs to be implemented, so shares list could be displayed in several pages.
Useful links:
1) Pagination query in Cinder:
https://opendev.org/openstack/cinder/src/branch/master/cinder/api/v2/volumes.py#L99
2) get_pagination_params method in common.py in Manila:
https://github.com/openstack/manila/blob/2e27c71877fdb601ba90b44c3573d8e50e099042/manila/api/common.py#L69
3) Implementation of pagination in Glance:
API:
https://github.com/openstack/horizon/blob/24c4cc9734bd69d6f59c2a72472d1097a35e0229/openstack_dashboard/api/glance.py#L213
Views:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/images/views.py
4) Implementation of pagination in Monasca UI:
Views:
https://opendev.org/openstack/monasca-ui/src/branch/master/monitoring/alarmdefs/views.py#L45-L65
API:
https://opendev.org/openstack/monasca-ui/src/branch/master/monitoring/api/monitor.py#L23-L27

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Dina Saparbaeva
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.