get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139637,
    "url": "https://patches.dpdk.org/api/patches/139637/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240423091252.62924-2-juraj.linkes@pantheon.tech/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20240423091252.62924-2-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240423091252.62924-2-juraj.linkes@pantheon.tech",
    "date": "2024-04-23T09:12:49",
    "name": "[v1,1/4] dts: add tg node execution setup and teardown",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "105b74bcf3d35af78383bcb4308c03f1937edb70",
    "submitter": {
        "id": 1626,
        "url": "https://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20240423091252.62924-2-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 31808,
            "url": "https://patches.dpdk.org/api/series/31808/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31808",
            "date": "2024-04-23T09:12:48",
            "name": "node and inheritance improvements",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/31808/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/139637/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/139637/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 1E5AE43EE8;\n\tTue, 23 Apr 2024 11:13:02 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1F93040ED0;\n\tTue, 23 Apr 2024 11:12:58 +0200 (CEST)",
            "from mail-ed1-f45.google.com (mail-ed1-f45.google.com\n [209.85.208.45]) by mails.dpdk.org (Postfix) with ESMTP id 5838940E96\n for <dev@dpdk.org>; Tue, 23 Apr 2024 11:12:55 +0200 (CEST)",
            "by mail-ed1-f45.google.com with SMTP id\n 4fb4d7f45d1cf-57222fc625aso187186a12.3\n for <dev@dpdk.org>; Tue, 23 Apr 2024 02:12:55 -0700 (PDT)",
            "from jlinkes-PT-Latitude-5530.pantheon.local\n (81.89.53.154.host.vnet.sk. [81.89.53.154])\n by smtp.gmail.com with ESMTPSA id\n be12-20020a0564021a2c00b0056bf7f92346sm6440534edb.50.2024.04.23.02.12.54\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 23 Apr 2024 02:12:54 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=pantheon.tech; s=google; t=1713863575; x=1714468375; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=JuzaMgheYjBzBqTWpCKrjQLAXSyUcU+mZIEr5lfmx7Y=;\n b=FF/k/juVkeY1CKllkFHDHKylXOnWATIVcn8oR+3Na9LuahII6H2JMQ4A2qS2YfgAbM\n klp2CczV0rMJ6CpOsd8f8oA7g3ndv1X4qqWVkZ5DBoUyiwnRgal5oPV87BZbidm7kXBk\n pIOd1GSAM7GhcxLtfNY1cdkETfxT1ld5/vhKwOt5rtr2TjRpYlTsi3BQYOsQxWx4o1O3\n BIWuPq/ROkosql84vbYIAScBvkpqj7PJ2/rSk4w9nJYgrcydhKTzY6tVHvAv3VNQSh5w\n Nv4PjJRp/UrSbz8QRCcuIY8982AlbJt3DqMCSqjgYjwbVggUzsAskE+YVjxf+F8eq+SU\n yiww==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1713863575; x=1714468375;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=JuzaMgheYjBzBqTWpCKrjQLAXSyUcU+mZIEr5lfmx7Y=;\n b=nVWeGTKNjAsdnnSWco0+O3awaHuY8On0t344YdniksyfLe2ES2izoPFG+qH50M2xu0\n UylknnuLyuo9/6WYm5l/vk79teTGn+QtYfl4LTsvVIueMQo0nxoZ7jtTd5CJsSPfa7kP\n CfwQpUtliAsZC1hNkTqaSulzTjZQPTVPphgYxVyWZa31TC7amebLBXFsyps+Hn/UVkuM\n p1k+GuRiNBO7cHL7xDQyyF0aZhHNknb2ozLjRG+ks4mVADiv1jNfJzUzk1X+bKq97SaV\n PeouMNNOuqZA4pql2+y9FFR+fzhlMo3WFBCrTv/HWfFvrRC0CB5DvtWMJnyJT2Ugioby\n ZK4w==",
        "X-Gm-Message-State": "AOJu0Yyn0+3FXZLLNhJMhBj26a3VtCs90Ksxt5xJZckNNmsdW3Nq9trN\n I5bAPGWb3L/i5gBrVNiIJNOSxWyh8/+E8910tOQYdQBsUJ3AaSLu/L2KTUnS9vA=",
        "X-Google-Smtp-Source": "\n AGHT+IGphkBPx6YyFQ17fNlzhTifRYcVLjQtYAPw9yb6N8IP/rwfsgBm8M0tz1CkxWnTlWdg0okjvg==",
        "X-Received": "by 2002:a50:9b07:0:b0:56b:a03c:4eb with SMTP id\n o7-20020a509b07000000b0056ba03c04ebmr12589736edi.31.1713863575037;\n Tue, 23 Apr 2024 02:12:55 -0700 (PDT)",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu,\n probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com,\n npratte@iol.unh.edu",
        "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "Subject": "[PATCH v1 1/4] dts: add tg node execution setup and teardown",
        "Date": "Tue, 23 Apr 2024 11:12:49 +0200",
        "Message-Id": "<20240423091252.62924-2-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20240423091252.62924-1-juraj.linkes@pantheon.tech>",
        "References": "<20240423091252.62924-1-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "The setup and teardown for the execution stage was meant to be run on\nthe tg node too, but was mistakenly omitted.\n\nFixes: cecfe0aabf58 (\"dts: add traffic generator abstractions\")\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n dts/framework/runner.py | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/dts/framework/runner.py b/dts/framework/runner.py\nindex db8e3ba96b..2f25a3e941 100644\n--- a/dts/framework/runner.py\n+++ b/dts/framework/runner.py\n@@ -422,6 +422,7 @@ def _run_execution(\n         execution_result.add_sut_info(sut_node.node_info)\n         try:\n             sut_node.set_up_execution(execution)\n+            tg_node.set_up_execution(execution)\n             execution_result.update_setup(Result.PASS)\n         except Exception as e:\n             self._logger.exception(\"Execution setup failed.\")\n@@ -438,6 +439,7 @@ def _run_execution(\n             try:\n                 self._logger.set_stage(DtsStage.execution_teardown)\n                 sut_node.tear_down_execution()\n+                tg_node.tear_down_execution()\n                 execution_result.update_teardown(Result.PASS)\n             except Exception as e:\n                 self._logger.exception(\"Execution teardown failed.\")\n",
    "prefixes": [
        "v1",
        "1/4"
    ]
}