'List all nodes.
:return: ``list`` of :class:`Node`
:rtype: ``list``'

def list_nodes(self):

    datacenters = self.ex_list_datacenters()
    nodes = list()
    for datacenter in datacenters:
        servers_href = datacenter.extra['entities']['servers']['href']
        response = self.connection.request(action=servers_href, params={'depth': 3}, method='GET', with_full_url=True)
        mapped_nodes = self._to_nodes(response.object)
        nodes += mapped_nodes
    return nodes
