def delete_os_dummy_rtr(self, tenant_id, fw_dict, is_fw_virt=False):
ret = True<EOL>tenant_name = fw_dict.get('<STR_LIT>')<EOL>try:<EOL><INDENT>rtr_id = fw_dict.get('<STR_LIT>')<EOL>if not rtr_id:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>return False<EOL><DEDENT>if not is_fw_virt:<EOL><INDENT>ret = self._delete_dummy_intf_rtr(tenant_id, tenant_name,<EOL>rtr_id)<EOL><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT>': tenant_id, '<STR_LIT>': str(exc)})<EOL>ret = False<EOL><DEDENT>if ret:<EOL><INDENT>res = fw_const.OS_DUMMY_RTR_DEL_SUCCESS<EOL><DEDENT>else:<EOL><INDENT>res = fw_const.OS_DUMMY_RTR_DEL_FAIL<EOL><DEDENT>self.update_fw_db_result(tenant_id, os_status=res)<EOL>return ret<EOL>
Delete the Openstack Dummy router and store the info in DB.