'List networks deployed across all data center locations for your
organization.  The response includes the location of each network.
:keyword location: The location
:type    location: :class:`NodeLocation` or ``str``
:return: a list of DimensionDataNetwork objects
:rtype: ``list`` of :class:`DimensionDataNetwork`'

def list_networks(self, location=None):

    url_ext = ''
    if (location 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)
