commit 0c1d56dde527a5fe7852b502e94f4490dc3614aa
Author: Christopher Dearborn <email address hidden>
Date: Wed Jan 25 10:47:59 2017 -0500
WSMAN enumerate fails to return all entries
When querying an enumeration using the WSMAN enumerate method, not all
entries are returned if there are more than max_elems (default of 100)
in the enumeration.
When querying an enumeration, the first response returns <wsman:Items>
in the body. Successive pulls, however, contain <wsen:Items>.
The old code always queried for <wsen:Items>, which caused the first
batch of attributes to be dropped only when the number of entries in
the enumeration exceeded max_elems.
This patch queries for <wsman:Items> in the first response, and for
<wsen:Items> in successive responses.
Reviewed: https:/ /review. openstack. org/424754 /git.openstack. org/cgit/ openstack/ python- dracclient/ commit/ ?id=0c1d56dde52 7a5fe7852b502e9 4f4490dc3614aa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0c1d56dde527a5f e7852b502e94f44 90dc3614aa
Author: Christopher Dearborn <email address hidden>
Date: Wed Jan 25 10:47:59 2017 -0500
WSMAN enumerate fails to return all entries
When querying an enumeration using the WSMAN enumerate method, not all
entries are returned if there are more than max_elems (default of 100)
in the enumeration.
When querying an enumeration, the first response returns <wsman:Items>
in the body. Successive pulls, however, contain <wsen:Items>.
The old code always queried for <wsen:Items>, which caused the first
batch of attributes to be dropped only when the number of entries in
the enumeration exceeded max_elems.
This patch queries for <wsman:Items> in the first response, and for
<wsen:Items> in successive responses.
Change-Id: I2e9036b562c7d7 ba5af188dd552b6 c67388bb02c
Closes-Bug: #1659052