def list_networks(self, org, part):
if org and part:<EOL><INDENT>list_url = self._del_part + '<STR_LIT>'<EOL>list_url = list_url % (org, part)<EOL>res = self._send_request('<STR_LIT:GET>', list_url, '<STR_LIT>', '<STR_LIT>')<EOL>if res and res.status_code in self._resp_ok:<EOL><INDENT>return res.json()<EOL><DEDENT><DEDENT>
Return list of networks from DCNM.

        :param org: name of organization.
        :param part: name of partition.