def networks(self, search=None, fields=('<STR_LIT>')):
j, _ = self.request('<STR_LIT:GET>', '<STR_LIT>')<EOL>if search:<EOL><INDENT>return list(search_dicts(j, search, fields))<EOL><DEDENT>else:<EOL><INDENT>return j<EOL><DEDENT>
::

    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