'List the nodes in a tenant
:param ex_all_tenants: List nodes for all the tenants. Note: Your user
must have admin privileges for this
functionality to work.
:type ex_all_tenants: ``bool``'

def list_nodes(self, ex_all_tenants=False):

    params = {}
    if ex_all_tenants:
        params = {'all_tenants': 1}
    return self._to_nodes(self.connection.request('/servers/detail', params=params).object)
