

def ex_list_nodes_paginated(self, name=None, location=None, ipv6=None, ipv4=None, vlan=None, image=None, deployed=None, started=None, state=None, network=None, network_domain=None):
    '\n        Return a generator which yields node lists in pages\n\n        :keyword location: Filters the node list to nodes that are\n                           located in this location\n        :type    location: :class:`NodeLocation` or ``str``\n\n        :keyword name: Filters the node list to nodes that have this name\n        :type    name ``str``\n\n        :keyword ipv6: Filters the node list to nodes that have this\n                       ipv6 address\n        :type    ipv6: ``str``\n\n        :keyword ipv4: Filters the node list to nodes that have this\n                       ipv4 address\n        :type    ipv4: ``str``\n\n        :keyword vlan: Filters the node list to nodes that are in this VLAN\n        :type    vlan: :class:`DimensionDataVlan` or ``str``\n\n        :keyword image: Filters the node list to nodes that have this image\n        :type    image: :class:`NodeImage` or ``str``\n\n        :keyword deployed: Filters the node list to nodes that are\n                           deployed or not\n        :type    deployed: ``bool``\n\n        :keyword started: Filters the node list to nodes that are\n                          started or not\n        :type    started: ``bool``\n\n        :keyword state: Filters the node list to nodes that are in\n                        this state\n        :type    state: ``str``\n\n        :keyword network: Filters the node list to nodes in this network\n        :type    network: :class:`DimensionDataNetwork` or ``str``\n\n        :keyword network_domain: Filters the node list to nodes in this\n                                 network domain\n        :type    network_domain: :class:`DimensionDataNetworkDomain`\n                                 or ``str``\n\n        :return: a list of `Node` objects\n        :rtype: ``generator`` of `list` of :class:`Node`\n        '
    params = {
        
    }
    if (location is not None):
        params['datacenterId'] = self._location_to_location_id(location)
    if (ipv6 is not None):
        params['ipv6'] = ipv6
    if (ipv4 is not None):
        params['privateIpv4'] = ipv4
    if (state is not None):
        params['state'] = state
    if (started is not None):
        params['started'] = started
    if (deployed is not None):
        params['deployed'] = deployed
    if (name is not None):
        params['name'] = name
    if (network_domain is not None):
        params['networkDomainId'] = self._network_domain_to_network_domain_id(network_domain)
    if (network is not None):
        params['networkId'] = self._network_to_network_id(network)
    if (vlan is not None):
        params['vlanId'] = self._vlan_to_vlan_id(vlan)
    if (image is not None):
        params['sourceImageId'] = self._image_to_image_id(image)
    nodes_obj = self._list_nodes_single_page(params)
    (yield self._to_nodes(nodes_obj))
    while (nodes_obj.get('pageCount') >= nodes_obj.get('pageSize')):
        params['pageNumber'] = (int(nodes_obj.get('pageNumber')) + 1)
        nodes_obj = self._list_nodes_single_page(params)
        (yield self._to_nodes(nodes_obj))

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_list_nodes_paginated/original