get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2225636,
    "url": "http://patchwork.ozlabs.org/api/patches/2225636/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20260421101422.3608058-2-moloings@redhat.com/",
    "project": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260421101422.3608058-2-moloings@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-21T10:14:20",
    "name": "[ovs-dev,1/3] ic: Update schema to add transit switch port.",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "7fdc8c7474f8ae6cb8b0645088593eefe7f33bb5",
    "submitter": {
        "id": 91032,
        "url": "http://patchwork.ozlabs.org/api/people/91032/?format=api",
        "name": "Mairtin O'Loingsigh",
        "email": "moloings@redhat.com"
    },
    "delegate": {
        "id": 94943,
        "url": "http://patchwork.ozlabs.org/api/users/94943/?format=api",
        "username": "dceara",
        "first_name": "Dumitru",
        "last_name": "Ceara",
        "email": "dceara@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20260421101422.3608058-2-moloings@redhat.com/mbox/",
    "series": [
        {
            "id": 500774,
            "url": "http://patchwork.ozlabs.org/api/series/500774/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=500774",
            "date": "2026-04-21T10:14:20",
            "name": "Add support for Transit switch ports",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500774/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225636/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225636/checks/",
    "tags": {},
    "related": [],
    "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=IgpoItb+;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)",
            "smtp4.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=IgpoItb+",
            "smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com"
        ],
        "Received": [
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4g0JBt1SNMz1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 20:15:16 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 53E9140576;\n\tTue, 21 Apr 2026 10:15:14 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id vWXZhXC4dyTz; Tue, 21 Apr 2026 10:15:13 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 658A8406E7;\n\tTue, 21 Apr 2026 10:15:13 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 44CC5C058E;\n\tTue, 21 Apr 2026 10:15:13 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id DAE70C058D\n for <dev@openvswitch.org>; Tue, 21 Apr 2026 10:15:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 85DAD4058F\n for <dev@openvswitch.org>; Tue, 21 Apr 2026 10:15:10 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id WBhMe4Js1Jd6 for <dev@openvswitch.org>;\n Tue, 21 Apr 2026 10:15:10 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by smtp4.osuosl.org (Postfix) with ESMTPS id BE7F140576\n for <dev@openvswitch.org>; Tue, 21 Apr 2026 10:15:09 +0000 (UTC)",
            "from mail-qk1-f199.google.com (mail-qk1-f199.google.com\n [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-574-LcZ4sIoaNdKY4YDp3NujTw-1; Tue, 21 Apr 2026 06:15:07 -0400",
            "by mail-qk1-f199.google.com with SMTP id\n af79cd13be357-8cd722c1a69so724613485a.0\n for <dev@openvswitch.org>; Tue, 21 Apr 2026 03:15:07 -0700 (PDT)",
            "from moloings-thinkpadp1gen7.rmtie.csb\n ([2001:bb6:2be4:f100:a13c:8a56:eb6f:ed3f])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8e7d92ce037sm997022285a.32.2026.04.21.03.15.04\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 21 Apr 2026 03:15:05 -0700 (PDT)"
        ],
        "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 smtp4.osuosl.org 658A8406E7",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org BE7F140576"
        ],
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=moloings@redhat.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org BE7F140576",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1776766508;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc: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=UF2RLozwwWhHlxorujAkG+2mbATF+8D/tsknIM2TrG8=;\n b=IgpoItb+Og++4AIf7YPG6xoRBSdRktOkDJvZrcm3yUcZJgjEX6y6bKDPNyPC1Z9Q6DI7We\n v4t1v08c4B6G6ThEAZ5ogx3w55/BXt0lvxnAS8g0XPHmNWy480RFJ/Z0U4oJzc7dL9khVL\n V07v+Vv3iPlOGYwNsTrixloobo5WYEc=",
        "X-MC-Unique": "LcZ4sIoaNdKY4YDp3NujTw-1",
        "X-Mimecast-MFC-AGG-ID": "LcZ4sIoaNdKY4YDp3NujTw_1776766507",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776766506; x=1777371306;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=UF2RLozwwWhHlxorujAkG+2mbATF+8D/tsknIM2TrG8=;\n b=ibGdTpy1oULZASShN6L5oRb4t+jSDEF2jyAJXoWTgu3jNBTLoEBhUgBuwN04ELK/V3\n btqEnlzCYA9xZbALQKWCz9Ll1ud1MS4yAya1S82CJ+z9SiISc7D6TXJDYTDPX7HURFyn\n Cyf1WcGBkB3yFRCGQiL6hcqUVuaagQrcIyqfLj0314aSSmnDAdtJdHgXIVOWsp5xwtmB\n ywzMlNjeHiWCYTIPeYHrq8HB6dFhkM5hUejfeg+LIHWWjs5XwTqKQEFvQf10s+ocPzKY\n TnRcv/qmCoJ1nYl8K1qNEcawoJbUTWD4gygytFpwVLx5XNsVpG/XhVJsLThuDJZa5QVt\n k1PQ==",
        "X-Gm-Message-State": "AOJu0YxpdJIpk7hSolnqOuTV0qWsCfEogMYrgCnku6z9xnWGLRK282KA\n m4bBivtMiTD6LYDHn1gsKCXXJ1p4oBitGT/DHpIaF5oIYjkvknPJX3YT4uvP+4Fa7YCDEO9kQkH\n GFJyOqtD17XzLoqYxMXzM6YrKvJ8uGZXl3tIYKJDwAyK7KVLXM0SmK2Ueuu2c3rY795kjk9PdBo\n WNgbgSZ/ygK4ReDsUBtpxEakYGeOra2UWlAn+JJQ==",
        "X-Gm-Gg": "AeBDieuwIQpjOv48SFVXsg6PRbhz2rf6ThcR0AvrjSKL0z83R6Bd33yT3yoON6naNVK\n LdhHyTivpUzvhUZHEJHx/+RV5m9Z4e9TthhyOpzTwend3El1jO75hU5iKXxRvG1oLCMjyeqvGxq\n wodgmjKqwd5Lw0vynEbxncKP+n+O1CCwngIrEneeelTTuCNPRPHh8fhm4F6PlP2XRwj3cwbf+zN\n WrFrDYoQjqDT2frZWVonmLCw9z/X0VMO8izXuTqOro8+XMc4tGkSWRbskXoCbwrhvNBMrEALO4I\n /FWxx0ANpSP6EPXiFgYO7mqXdahl1OpnJO7oxH/4grb0U2fFYiqRuo8NkeWTyNijlpUkaGQfRwA\n rkkovO//9uSc1MiBlo1P1/i9+BlvLjq3y9O6o089WbluvwJCaCZ1EWbeWpnLowqvC",
        "X-Received": [
            "by 2002:a05:620a:45a2:b0:8d7:cf69:3bf3 with SMTP id\n af79cd13be357-8e79285439emr2559432785a.54.1776766506365;\n Tue, 21 Apr 2026 03:15:06 -0700 (PDT)",
            "by 2002:a05:620a:45a2:b0:8d7:cf69:3bf3 with SMTP id\n af79cd13be357-8e79285439emr2559425585a.54.1776766505817;\n Tue, 21 Apr 2026 03:15:05 -0700 (PDT)"
        ],
        "To": "dev@openvswitch.org",
        "Date": "Tue, 21 Apr 2026 11:14:20 +0100",
        "Message-ID": "<20260421101422.3608058-2-moloings@redhat.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260421101422.3608058-1-moloings@redhat.com>",
        "References": "<20260421101422.3608058-1-moloings@redhat.com>",
        "MIME-Version": "1.0",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "mJxfKCA7fl6rTX1LiiiKLDfmhukUHrf9EGv0JtEx2os_1776766507",
        "X-Mimecast-Originator": "redhat.com",
        "Subject": "[ovs-dev] [PATCH ovn 1/3] ic: Update schema to add transit switch\n port.",
        "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": "Mairtin O'Loingsigh via dev <ovs-dev@openvswitch.org>",
        "Reply-To": "Mairtin O'Loingsigh <moloings@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": "Add transit switch port to ovn-ic-nb schema.\n\nSigned-off-by: Mairtin O'Loingsigh <moloings@redhat.com>\n---\n ovn-ic-nb.ovsschema | 24 +++++++++++++++++++++++-\n ovn-ic-nb.xml       | 42 ++++++++++++++++++++++++++++++++++++++++++\n 2 files changed, 65 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/ovn-ic-nb.ovsschema b/ovn-ic-nb.ovsschema\nindex ca67a2fa9..b8db603b0 100644\n--- a/ovn-ic-nb.ovsschema\n+++ b/ovn-ic-nb.ovsschema\n@@ -1,7 +1,7 @@\n {\n     \"name\": \"OVN_IC_Northbound\",\n     \"version\": \"1.3.0\",\n-    \"cksum\": \"1918565391 5082\",\n+    \"cksum\": \"2501001826 6175\",\n     \"tables\": {\n         \"IC_NB_Global\": {\n             \"columns\": {\n@@ -24,9 +24,31 @@\n                              \"min\": 0, \"max\": \"unlimited\"}}},\n             \"maxRows\": 1,\n             \"isRoot\": true},\n+        \"Transit_Switch_Port\": {\n+            \"columns\": {\n+                \"name\": {\"type\": \"string\"},\n+                \"other_config\": {\n+                    \"type\": {\"key\": \"string\", \"value\": \"string\",\n+                             \"min\": 0, \"max\": \"unlimited\"}},\n+                \"type\": {\"type\": \"string\"},\n+                \"chassis\": {\"type\": \"string\"},\n+                \"option\": {\"type\": \"string\"},\n+                \"addresses\": {\"type\": {\"key\": \"string\",\n+                                       \"min\": 0,\n+                                       \"max\": \"unlimited\"}},\n+                \"ts_uuid\": {\"type\": {\"key\": {\"type\": \"uuid\"},\n+                                     \"min\": 1,\n+                                     \"max\": 1}}},\n+            \"isRoot\": false,\n+            \"indexes\": [[\"name\"]]},\n         \"Transit_Switch\": {\n             \"columns\": {\n                 \"name\": {\"type\": \"string\"},\n+                \"ports\": {\"type\": {\"key\": {\"type\": \"uuid\",\n+                                           \"refTable\": \"Transit_Switch_Port\",\n+                                           \"refType\": \"strong\"},\n+                                   \"min\": 0,\n+                                   \"max\": \"unlimited\"}},\n                 \"other_config\": {\n                     \"type\": {\"key\": \"string\", \"value\": \"string\",\n                              \"min\": 0, \"max\": \"unlimited\"}},\ndiff --git a/ovn-ic-nb.xml b/ovn-ic-nb.xml\nindex a3a35baf2..5eaf55332 100644\n--- a/ovn-ic-nb.xml\n+++ b/ovn-ic-nb.xml\n@@ -112,6 +112,10 @@\n       </column>\n     </group>\n \n+    <column name=\"ports\">\n+      The router's ports.\n+    </column>\n+\n     <group title=\"Common Columns\">\n       <column name=\"other_config\"/>\n       <column name=\"external_ids\">\n@@ -190,6 +194,44 @@\n     </group>\n   </table>\n \n+  <table name=\"Transit_Switch_Port\" title=\"Transit logical switch port\">\n+    <p>\n+      Each row represents one transit logical switch port for interconnection\n+      between different OVN deployments (availability zones).\n+    </p>\n+\n+    <group title=\"Naming\">\n+      <column name=\"name\">\n+        A name that uniquely identifies the transit logical switch port.\n+      </column>\n+    </group>\n+\n+    <column name=\"type\">\n+      Specify if the port if of type router or vif.\n+    </column>\n+\n+    <column name=\"chassis\">\n+      The chassis this switch port should be bound to.\n+    </column>\n+\n+    <column name=\"option\">\n+      Contains peer name or network information depending on port type.\n+    </column>\n+\n+    <column name=\"addresses\">\n+      Addresses to assign to port.\n+    </column>\n+\n+    <column name=\"ts_uuid\">\n+       This is the UUID of the northbound IC logical datapath this port is\n+       associated with.\n+    </column>\n+\n+    <group title=\"Common Columns\">\n+      <column name=\"other_config\"/>\n+    </group>\n+  </table>\n+\n   <table name=\"SSL\">\n     SSL/TLS configuration for ovn-nb database access.\n \n",
    "prefixes": [
        "ovs-dev",
        "1/3"
    ]
}