get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87611,
    "url": "http://patches.dpdk.org/api/patches/87611/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210202142340.3877630-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210202142340.3877630-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210202142340.3877630-1-weix.ling@intel.com",
    "date": "2021-02-02T14:23:40",
    "name": "[V2] framework/pmd_output:start_testpmd interface support expected params",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cbb30203b1f0adbd7d23c09d829a08e8c8d959e4",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210202142340.3877630-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 15081,
            "url": "http://patches.dpdk.org/api/series/15081/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=15081",
            "date": "2021-02-02T14:23:40",
            "name": "[V2] framework/pmd_output:start_testpmd interface support expected params",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/15081/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/87611/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/87611/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4D485A052A;\n\tTue,  2 Feb 2021 07:30:28 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 47231240250;\n\tTue,  2 Feb 2021 07:30:28 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id DBDA7240243\n for <dts@dpdk.org>; Tue,  2 Feb 2021 07:30:26 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Feb 2021 22:30:25 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Feb 2021 22:30:24 -0800"
        ],
        "IronPort-SDR": [
            "\n QRnzK+ravDeHgb0iQNh99295Ey8OBOTDeZzKN8HMUPPXY8KgUWMHR6Kmi9K7fomx2BVV3dqQUX\n XKrQUiuX86zw==",
            "\n NOsTn131nRpsGTroBJKNub5I+hprvAUMDMW9+HI+UYkgmoL5v42wZ/L+f1P5ZOGlvA7Wn25Kmx\n I/bNF1lV3/OA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9882\"; a=\"242322268\"",
            "E=Sophos;i=\"5.79,394,1602572400\"; d=\"scan'208\";a=\"242322268\"",
            "E=Sophos;i=\"5.79,394,1602572400\"; d=\"scan'208\";a=\"391309816\""
        ],
        "From": "Ling Wei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Ling Wei <weix.ling@intel.com>",
        "Date": "Tue,  2 Feb 2021 14:23:40 +0000",
        "Message-Id": "<20210202142340.3877630-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V2] framework/pmd_output:start_testpmd interface\n support expected params",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "v1:\nIn DPDK 9af79db20f4cf,when launch virtio-user testpmd as server mode,\n virtio-user server side testpmd expected character will be \n'wait for client side started...', after client side started, \nit change to 'testpmd>'.\n\nv2:\nModify patch comments style issues.\n\nSigned-off-by: Ling Wei <weix.ling@intel.com>\n---\n framework/pmd_output.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/framework/pmd_output.py b/framework/pmd_output.py\nindex 3daa86b..1ad4ce7 100644\n--- a/framework/pmd_output.py\n+++ b/framework/pmd_output.py\n@@ -103,7 +103,7 @@ class PmdOutput():\n     def get_pmd_cmd(self):\n         return self.command\n \n-    def start_testpmd(self, cores='default', param='', eal_param='', socket=0, fixed_prefix=False, **config):\n+    def start_testpmd(self, cores='default', param='', eal_param='', socket=0, fixed_prefix=False, expected='testpmd> ', **config):\n         \"\"\"\n         start testpmd with input parameters.\n         :param cores: eg:\n@@ -148,7 +148,7 @@ class PmdOutput():\n         command = command.replace('  ', ' ')\n         if self.session != self.dut:\n             self.session.send_expect(\"cd %s\" % self.dut.base_dir, \"# \")\n-        out = self.session.send_expect(command, \"testpmd> \", 120)\n+        out = self.session.send_expect(command, expected, 120)\n         self.command = command\n         # wait 10s to ensure links getting up before test start.\n         sleep(10)\n",
    "prefixes": [
        "V2"
    ]
}