add marker and limit in BM server list API

Bug #1726665 reported by Xinran WANG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mogan
Fix Released
Medium
Xinran WANG

Bug Description

Mogan doesn't support to list server by marker or limit, we should support it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mogan (master)

Fix proposed to branch: master
Review: https://review.openstack.org/514506

Changed in mogan:
assignee: nobody → Xinran WANG (xinran)
status: New → In Progress
Changed in mogan:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mogan (master)

Reviewed: https://review.openstack.org/514506
Committed: https://git.openstack.org/cgit/openstack/mogan/commit/?id=05cc14d39997cf13f43298852824fbca3c6a3ddf
Submitter: Zuul
Branch: master

commit 05cc14d39997cf13f43298852824fbca3c6a3ddf
Author: Xinran <email address hidden>
Date: Tue Oct 24 10:13:48 2017 +0800

    Pagination support for server list API

    We should support to return a list of servers according to users' requirements.
    In this patch, marker, limit, sort_key and sort_dir were added in server list
    API.
    - marker is used to display a list of servers after marker
    - limit is used to determinate the maximum number of servers to display
    - sort_key is used to sort the returned server list by specified key value
    - sort_dir is used to select a sort direction

    DocImpact
    APIImpact

    Change-Id: Id70e965794c82a0a29e53d4364f65b0f39042c7c
    Closes-Bug: #1726665

Changed in mogan:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.