'List Portlist by network domain ID specified
>>> from pprint import pprint
>>> from libcloud.compute.types import Provider
>>> from libcloud.compute.providers import get_driver
>>> import libcloud.security
>>> # Get dimension data driver
>>> libcloud.security.VERIFY_SSL_CERT = True
>>> cls = get_driver(Provider.DIMENSIONDATA)
>>> driver = cls(\'myusername\',\'mypassword\', region=\'dd-au\')
>>> # Get location
>>> location = driver.ex_get_location_by_id(id=\'AU9\')
>>> # Get network domain by location
>>> networkDomainName = "Baas QA"
>>> network_domains = driver.ex_list_network_domains(location=location)
>>> my_network_domain = [d for d in network_domains if d.name ==
>>>                                               networkDomainName][0]
>>> # List portlist
>>> portLists = driver.ex_list_portlist(
>>>     ex_network_domain=my_network_domain)
>>> pprint(portLists)
:param  ex_network_domain: The network domain or network domain ID
:type   ex_network_domain: :class:`DimensionDataNetworkDomain` or \'str\'
:return: a list of DimensionDataPortList objects
:rtype: ``list`` of :class:`DimensionDataPortList`'

def ex_list_portlist(self, ex_network_domain):

    params = {'networkDomainId': self._network_domain_to_network_domain_id(ex_network_domain)}
    response = self.connection.request_with_orgId_api_2('network/portList', params=params).object
    return self._to_port_lists(response)
