def delete_project(self, tenant_name, part_name):
res = self._delete_partition(tenant_name, part_name)<EOL>if res and res.status_code in self._resp_ok:<EOL><INDENT>LOG.debug("<STR_LIT>", part_name)<EOL><DEDENT>else:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>", {'<STR_LIT>': part_name, '<STR_LIT>': res})<EOL>raise dexc.DfaClientRequestFailed(reason=res)<EOL><DEDENT>res = self._delete_org(tenant_name)<EOL>if res and res.status_code in self._resp_ok:<EOL><INDENT>LOG.debug("<STR_LIT>", tenant_name)<EOL><DEDENT>else:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>", {'<STR_LIT>': tenant_name, '<STR_LIT>': res})<EOL>raise dexc.DfaClientRequestFailed(reason=res)<EOL><DEDENT>
Delete project on the DCNM.

        :param tenant_name: name of project.
        :param part_name: name of partition.