rackspace/pyrax — pull request #433 by wp-michael (2014-07-30 18:59:57+00:00)
Title: modified list_entities to gather ALL entities via pagination

Problem
-----------
Currently when using the cloudmonitorclient class, a request for the list of entities returns only the first page. This was un-intuitive, as it was expected to provide all entities.

Approach
------------
By modifying BaseManager to save it's 'next_marker' on a paginated result, it is able to provide it to CloudMonitorClient which can then use it to request ALL entities via the necessary number of paginated api requests.
The returned list is the concatenated result from each api page result.

Risks
-------
BaseManager: should be low risk. only capturing the marker if it is indeed set
CloudMonitorClient: Will loop API requests until the api gives either no next_marker or a None. Could be until end of time if the API keeps giving next markers