Comment 2 for bug 1659052

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-dracclient (master)

Submitter: Jenkins
Branch: master

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.

    Change-Id: I2e9036b562c7d7ba5af188dd552b6c67388bb02c
    Closes-Bug: #1659052