vmware-nsxlib/vmware_nsxlib
Shih-Hao Li 1d2ea12778 Append sort_by=id in search url
Manager uses elastic-search scoring and display_name as default
primary and secondary sort order respectively. In a Manager cluster,
each Manager has its own elastic-search instance, Thus the relevance
of scoring might differ due to different parameters, so pagination
result may differ too.

When NCP does a multi-page search, like retrieving all existing
logical ports in a scale setup, Manager VIP could be served by
different Managers during the search. Due to the above reason,
some entries could be missing or duplicated in the query result.

This patch appends "sort_by=id" in search url, therefore all
Managers could return the same pagination results.

Change-Id: Id26cf0cbcdaebb965890d5ee7934c11da056b128
(cherry picked from commit 6c7d58559f)
2020-06-24 11:01:56 +00:00
..
tests Append sort_by=id in search url 2020-06-24 11:01:56 +00:00
v3 Append sort_by=id in search url 2020-06-24 11:01:56 +00:00
__init__.py Add initial framework using cookiecutter 2016-08-08 20:41:29 +00:00
_i18n.py Drop log translations 2017-03-27 08:03:53 +03:00
version.py Move all nsxlib code and tests to vmware_nsxlib 2016-10-06 09:59:47 +03:00