get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 787920,
    "url": "http://patchwork.ozlabs.org/api/patches/787920/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/1499965361-32021-1-git-send-email-majopela@redhat.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1499965361-32021-1-git-send-email-majopela@redhat.com>",
    "list_archive_url": null,
    "date": "2017-07-13T17:02:34",
    "name": "[ovs-dev,v5,1/8] ovn: l3ha, add extra check on distributed gateway ports",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "84509496f2b13c07de792654f8e4903d46024d33",
    "submitter": {
        "id": 67170,
        "url": "http://patchwork.ozlabs.org/api/people/67170/?format=api",
        "name": "Miguel Angel Ajo",
        "email": "majopela@redhat.com"
    },
    "delegate": {
        "id": 55721,
        "url": "http://patchwork.ozlabs.org/api/users/55721/?format=api",
        "username": "russellb",
        "first_name": "Russell",
        "last_name": "Bryant",
        "email": "rbryant@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/1499965361-32021-1-git-send-email-majopela@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/787920/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/787920/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@bilbo.ozlabs.org",
            "ovs-dev@mail.linuxfoundation.org"
        ],
        "Received": [
            "from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3x7hvt0M03z9t2S\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 14 Jul 2017 03:02:50 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 6D180B3F;\n\tThu, 13 Jul 2017 17:02:48 +0000 (UTC)",
            "from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id EF78FB35\n\tfor <dev@openvswitch.org>; Thu, 13 Jul 2017 17:02:47 +0000 (UTC)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id CCE8D12F\n\tfor <dev@openvswitch.org>; Thu, 13 Jul 2017 17:02:46 +0000 (UTC)",
            "by mail-wm0-f49.google.com with SMTP id w126so29513982wme.0\n\tfor <dev@openvswitch.org>; Thu, 13 Jul 2017 10:02:46 -0700 (PDT)",
            "from ctl.localdomain (111.148.134.37.dynamic.jazztel.es.\n\t[37.134.148.111]) by smtp.gmail.com with ESMTPSA id\n\t46sm7134176wrz.8.2017.07.13.10.02.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 13 Jul 2017 10:02:43 -0700 (PDT)"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.7.6",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=0ZQyT+FLNW0kgOQyDE7ruGp2FgSAjFrtJP4lH2iiq50=;\n\tb=cwcTyedhN0BBfzziVsTAlVdW3A1R7t8ownPtyaZocQLKchn+K76ixLnpxE40SlvDp3\n\tVFfg46CeYhzXjMYLICe/nKz55TM9ZmNyUtew/ORL1e4ADn8ea60qsKiTAxTonpuqYWMj\n\t0gdX+DXpte5YJIluEw/QmMb/jUB9Qrf+Hq5ohsDAUMPlfhGbj8OHnqwiZ+bo0Jc7PJMa\n\t2+5FHqn20Xqw4dX3AGmGl3soRoen1G+itTckWNNZDLkf5ci+dWAWFal9zhTCS7DqO5bW\n\tCJUonnkw5KbMjpIDamDeb8uZiDv8vca/JeOpZr8B33L2sjmRsTFHRv7oPsV0O1nYoRvw\n\thHAA==",
        "X-Gm-Message-State": "AIVw11286BnkUCbmDOCLS4aKS9ACmrXD+GLc1ax3IzDPVHc7pxsjMIo1\n\t4gLoClMvNPZj384Mk2Q7lg==",
        "X-Received": "by 10.28.57.197 with SMTP id g188mr2838027wma.13.1499965365263; \n\tThu, 13 Jul 2017 10:02:45 -0700 (PDT)",
        "From": "Miguel Angel Ajo <majopela@redhat.com>",
        "To": "dev@openvswitch.org",
        "Date": "Thu, 13 Jul 2017 17:02:34 +0000",
        "Message-Id": "<1499965361-32021-1-git-send-email-majopela@redhat.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1496930708-15441-1-git-send-email-majopela@redhat.com>",
        "References": "<1496930708-15441-1-git-send-email-majopela@redhat.com>",
        "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE\n\tautolearn=ham version=3.3.1",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org",
        "Cc": "Miguel Angel Ajo <majopela@redhat.com>",
        "Subject": "[ovs-dev] [PATCH v5 1/8] ovn: l3ha,\n\tadd extra check on distributed gateway ports",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.12",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<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\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "ovs-dev-bounces@openvswitch.org",
        "Errors-To": "ovs-dev-bounces@openvswitch.org"
    },
    "content": "Check that removing the options:redirect-chassis in NBDB is\ngoing to remove the cr-${port} in the SBDB.\n\nThis is introduced to avoid any regression of this behaviour\non the l3ha series.\n\nSigned-off-by: Miguel Angel Ajo <majopela@redhat.com>\n---\n tests/ovn.at | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/tests/ovn.at b/tests/ovn.at\nindex efcbd91..f3e6b4b 100644\n--- a/tests/ovn.at\n+++ b/tests/ovn.at\n@@ -7142,6 +7142,14 @@ expected=${dst_mac}${src_mac}08004500001c000000003f110100${src_ip}${dst_ip}00351\n echo $expected >> hv2-vif1.expected\n OVN_CHECK_PACKETS([hv2/vif1-tx.pcap], [hv2-vif1.expected])\n \n+AT_CHECK([ovn-sbctl --bare --columns _uuid find Port_Binding logical_port=cr-alice | wc --lines], [0], [1\n+])\n+\n+ovn-nbctl remove Logical_Router_Port alice options redirect-chassis\n+\n+AT_CHECK([ovn-sbctl find Port_Binding logical_port=cr-alice | wc --lines], [0], [0\n+])\n+\n OVN_CLEANUP([hv1],[hv2],[hv3])\n \n AT_CLEANUP\n",
    "prefixes": [
        "ovs-dev",
        "v5",
        "1/8"
    ]
}