← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1775415] [NEW] pagination for list operations behaves inconsistently

 

Public bug reported:

Using pagination with Neutron API behaves inconsistently with documented behavior.
Next/previous links are not what they should be.

Observed behavior:
GET call "floatingips?limit=5&page_reverse=False" returns a first page of results that includes a "next" and "previous" link (should only contain a "next" link)

GET call "networks?limit=5&page_reverse=False" returns a first result
page that only includes a "previous" link (should only contain a "next"
link)

It seems that either the links are generated in a faulty manner or the
wrong page is returned (should be 1st page).

We are using version 2.0

Thx and best regards,
Sascha

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1775415

Title:
  pagination for list operations behaves inconsistently

Status in neutron:
  New

Bug description:
  Using pagination with Neutron API behaves inconsistently with documented behavior.
  Next/previous links are not what they should be.

  Observed behavior:
  GET call "floatingips?limit=5&page_reverse=False" returns a first page of results that includes a "next" and "previous" link (should only contain a "next" link)

  GET call "networks?limit=5&page_reverse=False" returns a first result
  page that only includes a "previous" link (should only contain a
  "next" link)

  It seems that either the links are generated in a faulty manner or the
  wrong page is returned (should be 1st page).

  We are using version 2.0

  Thx and best regards,
  Sascha

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1775415/+subscriptions