::
        
            GET /:login/networks
        
        :param search: optionally filter (locally) with a regular expression
            search on the listed fields
        :type search: :py:class:`basestring` that compiles as a regular
            expression
        
        :param fields: filter on the listed fields (defaulting to
            ``name``)
        :type fields: :py:class:`list` of :py:class:`basestring`\s
        
        :Returns: network available in this datacenter
        :rtype: :py:class:`list` of :py:class:`dict`\s

def networks(self, search=None, fields=('name,')):
        """
        ::
        
            GET /:login/networks
        
        :param search: optionally filter (locally) with a regular expression
            search on the listed fields
        :type search: :py:class:`basestring` that compiles as a regular
            expression
        
        :param fields: filter on the listed fields (defaulting to
            ``name``)
        :type fields: :py:class:`list` of :py:class:`basestring`\s
        
        :Returns: network available in this datacenter
        :rtype: :py:class:`list` of :py:class:`dict`\s
        """
        
        j, _ = self.request('GET', '/networks')
        if search:
            return list(search_dicts(j, search, fields))
        else:
            return j