'Get all of the pools inside the current geography or
in given network.
:param ex_network_domain_id: UUID of Network Domain
if not None returns only balancers in the given network
if None then returns all pools for the organization
:type  ex_network_domain_id: ``str``
:return: Returns a ``list`` of type ``DimensionDataPool``
:rtype: ``list`` of ``DimensionDataPool``'

def ex_get_pools(self, ex_network_domain_id=None):

    params = None
    if (ex_network_domain_id is not None):
        params = {'networkDomainId': ex_network_domain_id}
    pools = self.connection.request_with_orgId_api_2('networkDomainVip/pool', params=params).object
    return self._to_pools(pools)
