ML2 plugin: extract and postpone limit in port query
as with https://review.opendev.org/#/c/656066/ if limit is applied in
any place other than at the end of the filters, sql alchemy will return
an error, and possibily we could return less result than intended.
Change-Id: I9a54ae99d2d5dfda63cb0061bcf3d727ed7cc992
Closes-Bug: #1827363
(cherry picked from commit 94bc403078b1e5d2cddc697fc59b7f1d2d8a6045)
Reviewed: https:/ /review. opendev. org/680665 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=677d1f5d037 18b669b03f4d8c1 7f75ae00109304
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 677d1f5d03718b6 69b03f4d8c17f75 ae00109304
Author: Gabriele Cerami <email address hidden>
Date: Mon May 13 10:38:50 2019 +0100
ML2 plugin: extract and postpone limit in port query
as with https:/ /review. opendev. org/#/c/ 656066/ if limit is applied in
any place other than at the end of the filters, sql alchemy will return
an error, and possibily we could return less result than intended.
Change-Id: I9a54ae99d2d5df da63cb0061bcf3d 727ed7cc992 2cddc697fc59b7f 1d2d8a6045)
Closes-Bug: #1827363
(cherry picked from commit 94bc403078b1e5d