get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2229773/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2229773,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229773/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20260428174509.145440-3-mmichels@redhat.com/",
    "project": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/68/?format=api",
        "name": "Open Virtual Network development",
        "link_name": "ovn",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260428174509.145440-3-mmichels@redhat.com>",
    "date": "2026-04-28T17:45:02",
    "name": "[ovs-dev,2/5] ovn-nb: Document Load_Balancer \"event\" option.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "0ab64ddd607762b5b7d4a13b7ab30c1b50758ffa",
    "submitter": {
        "id": 71978,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/71978/?format=api",
        "name": "Mark Michelson",
        "email": "mmichels@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20260428174509.145440-3-mmichels@redhat.com/mbox/",
    "series": [
        {
            "id": 501914,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501914/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=501914",
            "date": "2026-04-28T17:45:02",
            "name": "Fix up northd documentation.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501914/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229773/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229773/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=VmTdr3kM;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp2.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=VmTdr3kM",
            "smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "smtp1.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=VmTdr3kM"
        ],
        "Received": [
            "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4nry0sM9z1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 03:45:21 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp2.osuosl.org (Postfix) with ESMTP id 2D502407B9;\n\tTue, 28 Apr 2026 17:45:20 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id mtfTB1u8QzI8; Tue, 28 Apr 2026 17:45:19 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp2.osuosl.org (Postfix) with ESMTPS id 4A07140639;\n\tTue, 28 Apr 2026 17:45:19 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 06EFDC04FB;\n\tTue, 28 Apr 2026 17:45:19 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 38521C04FA\n for <dev@openvswitch.org>; Tue, 28 Apr 2026 17:45:17 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 1AD2281700\n for <dev@openvswitch.org>; Tue, 28 Apr 2026 17:45:17 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id yf9soGTcaGCb for <dev@openvswitch.org>;\n Tue, 28 Apr 2026 17:45:16 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 2DBAA816FF\n for <dev@openvswitch.org>; Tue, 28 Apr 2026 17:45:15 +0000 (UTC)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-uiS-cV9jP9GsnComHfrPJw-1; Tue,\n 28 Apr 2026 13:45:13 -0400",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id A8D9418001FA\n for <dev@openvswitch.org>; Tue, 28 Apr 2026 17:45:12 +0000 (UTC)",
            "from localhost.localdomain.com (unknown [10.22.88.208])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 4610419560AB\n for <dev@openvswitch.org>; Tue, 28 Apr 2026 17:45:12 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.9.56;\n helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 4A07140639",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2DBAA816FF"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=mmichels@redhat.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 2DBAA816FF",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777398315;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=PPlBK/cjhAst7zQq+c8y4/DuXAuXaBr3jkjKJujpoac=;\n b=VmTdr3kMio2UT8nTmu5bYJ9Kh/AHchz0TT9mi8QXj3OdHVFnUIDNg/wcKwbF96B58yRYQj\n p9CtK3XhFBhWUz9F1kO2U1snJSt/0LDWwxjri503RLY01en8d7HucdvhUvHWklTXUQqNB4\n z9axvOM+dqOOoG4M8dRxWImT7giyNpo=",
        "X-MC-Unique": "uiS-cV9jP9GsnComHfrPJw-1",
        "X-Mimecast-MFC-AGG-ID": "uiS-cV9jP9GsnComHfrPJw_1777398312",
        "To": "dev@openvswitch.org",
        "Date": "Tue, 28 Apr 2026 13:45:02 -0400",
        "Message-ID": "<20260428174509.145440-3-mmichels@redhat.com>",
        "In-Reply-To": "<20260428174509.145440-1-mmichels@redhat.com>",
        "References": "<20260428174509.145440-1-mmichels@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "T9fcf6npt4d9rmr1y4TMRA4WJ5QhZO22sNhk7k8UkoA_1777398312",
        "X-Mimecast-Originator": "redhat.com",
        "Subject": "[ovs-dev] [PATCH ovn 2/5] ovn-nb: Document Load_Balancer \"event\"\n option.",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "From": "Mark Michelson via dev <ovs-dev@openvswitch.org>",
        "Reply-To": "Mark Michelson <mmichels@redhat.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "The \"event\" option on Load_Balancer.options was supported in code\n(set via \"ovn-nbctl lb-add --event\") but not documented in\novn-nb.xml. Add documentation describing its behavior: when true\nand the load balancer has no active backends, incoming traffic\ntriggers a controller event in the SB Controller_Event table.\n\nAssisted-by: Claude Code (Claude Opus 4.6)\nSigned-off-by: Mark Michelson <mmichels@redhat.com>\n---\n ovn-nb.xml | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/ovn-nb.xml b/ovn-nb.xml\nindex 7324e8656..e1061b6d3 100644\n--- a/ovn-nb.xml\n+++ b/ovn-nb.xml\n@@ -2770,6 +2770,15 @@ or\n         router.\n       </column>\n \n+      <column name=\"options\" key=\"event\" type='{\"type\": \"boolean\"}'>\n+        If set to <code>true</code> and the load balancer has no active\n+        backends, whenever the load balancer receives traffic, the event\n+        is reported in the <ref table=\"Controller_Event\"\n+        db=\"OVN_Southbound\"/> table in the OVN Southbound database.\n+        The <code>event</code> option cannot be used together with the\n+        <code>reject</code> option.\n+      </column>\n+\n     </group>\n   </table>\n \n",
    "prefixes": [
        "ovs-dev",
        "2/5"
    ]
}