def _delete_fw(self, tenant_id, data):
LOG.debug("<STR_LIT>", data)<EOL>in_sub = self.get_in_subnet_id(tenant_id)<EOL>out_sub = self.get_out_subnet_id(tenant_id)<EOL>arg_dict = self._create_arg_dict(tenant_id, data, in_sub, out_sub)<EOL>if arg_dict.get('<STR_LIT>') is None:<EOL><INDENT>LOG.error("<STR_LIT>", tenant_id)<EOL>return False<EOL><DEDENT>if tenant_id not in self.tenant_dict:<EOL><INDENT>self.create_tenant_dict(tenant_id, arg_dict.get('<STR_LIT>'))<EOL><DEDENT>ret = self.send_in_router_port_msg(tenant_id, arg_dict, '<STR_LIT>')<EOL>if not ret:<EOL><INDENT>return False<EOL><DEDENT>ret = self.send_out_router_port_msg(tenant_id, arg_dict, '<STR_LIT>')<EOL>if not ret:<EOL><INDENT>return False<EOL><DEDENT>router_ret = self.delete_intf_router(tenant_id,<EOL>arg_dict.get('<STR_LIT>'),<EOL>arg_dict.get('<STR_LIT>'))<EOL>if not router_ret:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>tenant_id)<EOL>return router_ret<EOL><DEDENT>del self.tenant_dict[tenant_id]<EOL>return router_ret<EOL>
Internal routine called when a FW is deleted.