def delete_fabric_fw_internal(self, tenant_id, fw_dict, is_fw_virt,<EOL>result):
if not self.auto_nwk_create:<EOL><INDENT>LOG.info("<STR_LIT>")<EOL>return False<EOL><DEDENT>try:<EOL><INDENT>tenant_name = fw_dict.get('<STR_LIT>')<EOL>fw_name = fw_dict.get('<STR_LIT>')<EOL>if tenant_id not in self.service_attr:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>tenant_name)<EOL>return False<EOL><DEDENT>if result == fw_const.RESULT_FW_DELETE_DONE:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>tenant_id)<EOL>return True<EOL><DEDENT>ret = self.run_delete_sm(tenant_id, fw_dict, is_fw_virt)<EOL>self.service_attr[tenant_id].set_fabric_create(False)<EOL>if ret:<EOL><INDENT>LOG.info("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT>': tenant_name, '<STR_LIT>': fw_name})<EOL>self.service_attr[tenant_id].destroy_local_fw_db()<EOL>self.delete_serv_obj(tenant_id)<EOL><DEDENT>else:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT>': tenant_name, '<STR_LIT>': fw_name})<EOL><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>str(exc))<EOL>return False<EOL><DEDENT>return ret<EOL>
Internal routine to delete the fabric configuration.

        This runs the SM and deletes the entries from DB and local cache.