

def list_networks(self, location=None):
    '\n        List networks deployed across all data center locations for your\n        organization.  The response includes the location of each network.\n\n\n        :keyword location: The location\n        :type    location: :class:`NodeLocation` or ``str``\n\n        :return: a list of DimensionDataNetwork objects\n        :rtype: ``list`` of :class:`DimensionDataNetwork`\n        '
    url_ext = ''
    if (url_ext is not None):
        url_ext = ('/' + self._location_to_location_id(location))
    return self._to_networks(self.connection.request_with_orgId_api_1(('networkWithLocation%s' % url_ext)).object)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.list_networks/VarMisuse@22/148 `location`->`url_ext`