get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 134051,
    "url": "http://patches.dpdk.org/api/patches/134051/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231109232223.25644-6-jspewock@iol.unh.edu/",
    "project": {
        "id": 1,
        "url": "http://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": "<20231109232223.25644-6-jspewock@iol.unh.edu>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231109232223.25644-6-jspewock@iol.unh.edu",
    "date": "2023-11-09T23:20:14",
    "name": "[v2,4/7] dts: allow passing parameters into interactive apps",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8a5634fc9fc6063318171006b89f22ebcf66dd07",
    "submitter": {
        "id": 2772,
        "url": "http://patches.dpdk.org/api/people/2772/?format=api",
        "name": "Jeremy Spewock",
        "email": "jspewock@iol.unh.edu"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231109232223.25644-6-jspewock@iol.unh.edu/mbox/",
    "series": [
        {
            "id": 30232,
            "url": "http://patches.dpdk.org/api/series/30232/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30232",
            "date": "2023-11-09T23:20:10",
            "name": "dts: Port scatter suite over",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/30232/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/134051/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/134051/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 9A8EF432EC;\n\tFri, 10 Nov 2023 00:23:34 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6186F42C24;\n\tFri, 10 Nov 2023 00:23:32 +0100 (CET)",
            "from mail-il1-f228.google.com (mail-il1-f228.google.com\n [209.85.166.228])\n by mails.dpdk.org (Postfix) with ESMTP id 4F5AC42D0B\n for <dev@dpdk.org>; Fri, 10 Nov 2023 00:23:30 +0100 (CET)",
            "by mail-il1-f228.google.com with SMTP id\n e9e14a558f8ab-3594c100735so3828075ab.1\n for <dev@dpdk.org>; Thu, 09 Nov 2023 15:23:30 -0800 (PST)",
            "from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84])\n by smtp-relay.gmail.com with ESMTPS id\n q5-20020a056e0215c500b00359b544531csm953358ilu.51.2023.11.09.15.23.29\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 09 Nov 2023 15:23:29 -0800 (PST)",
            "from iol.unh.edu (unknown\n [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f])\n by postal.iol.unh.edu (Postfix) with ESMTP id 392B0605C318;\n Thu,  9 Nov 2023 18:23:29 -0500 (EST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=iol.unh.edu; s=unh-iol; t=1699572209; x=1700177009; 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=rxomyntegdrXYkBv8b690HuDHshTcpLqZU8Wlt/jce4=;\n b=Cxxp2MzcJEbKd2fbvi0OiiYqd26k/H7qtwv/bwIxUb+H6rGFvkhkkN3/H8raszMaOt\n NEYOLpp6dbq/WtbVkCiEUZazmNDMsxX4uI0n9SqEApiqB/PLnfEClvhg3b+Tx5vKlFxu\n 9JcUnKYeNuOepqmkf7o7l91vq4hPWnGcC1tm8=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1699572209; x=1700177009;\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=rxomyntegdrXYkBv8b690HuDHshTcpLqZU8Wlt/jce4=;\n b=FtCEcL2dWQwb3iQ5x6l6rLrWC3dFcn06FJPzFrsPKK0iJUhYaF15aiLxJtPDjXN4rP\n azrRiSeDzdGJ9ZLcMkcpKm0gK4kL0RCYI+MjX/iVjtMkX5ckIctVtZnl3jszUhRBX4no\n ICznJU1DOWLoUQ7wVLB1V/SAeKL77D3X5jV5B4bx1AiREmWPvhTvV3ePTXqNsXFr29iU\n /QtZddnqj6Ct+1y8aV9VPPA/pA97IZFbEGE0PrIrqhcc6C016NdkbXu95ViBf8sww9Cx\n aN23A+zZx9kIor1oE0/1W5swkC+/LVPUfUhSRFuiRymEE4TfatyEj5K6e07+iJgTOCzH\n DIDQ==",
        "X-Gm-Message-State": "AOJu0YxQNpLbqcsQWMKTO28/YFPRLxudBZFYs0FlyDkVHvbM1fcAFdL8\n cdZcAkWgKGdu5YqShPg9HQudjeNdR0z+Y8B4Z7uFS/unR3XX1A==",
        "X-Google-Smtp-Source": "\n AGHT+IEGrrU6sNkGojY/pkPgWFVyci8oklFL2VRhoiTcG8jFCrckpGnf8hCWkf0qTPDM0ImSGd9mkctHBE3r",
        "X-Received": "by 2002:a92:c56a:0:b0:351:134d:ce3d with SMTP id\n b10-20020a92c56a000000b00351134dce3dmr875578ilj.7.1699572209763;\n Thu, 09 Nov 2023 15:23:29 -0800 (PST)",
        "X-Relaying-Domain": "iol.unh.edu",
        "From": "jspewock@iol.unh.edu",
        "To": "Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech,\n thomas@monjalon.net, wathsala.vithanage@arm.com, probb@iol.unh.edu,\n paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, ferruh.yigit@amd.com,\n andrew.rybchenko@oktetlabs.ru",
        "Cc": "dev@dpdk.org,\n\tJeremy Spewock <jspewock@iol.unh.edu>",
        "Subject": "[PATCH v2 4/7] dts: allow passing parameters into interactive apps",
        "Date": "Thu,  9 Nov 2023 18:20:14 -0500",
        "Message-ID": "<20231109232223.25644-6-jspewock@iol.unh.edu>",
        "X-Mailer": "git-send-email 2.42.0",
        "In-Reply-To": "<20231109232223.25644-2-jspewock@iol.unh.edu>",
        "References": "<20231109232223.25644-2-jspewock@iol.unh.edu>",
        "MIME-Version": "1.0",
        "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": "From: Jeremy Spewock <jspewock@iol.unh.edu>\n\nModified interactive applications to allow for the ability to pass\nparameters into the app on start up. Also modified the way EAL\nparameters are handled so that the trailing \"--\" separator is added be\ndefault after all EAL parameters.\n\nSigned-off-by: Jeremy Spewock <jspewock@iol.unh.edu>\n---\n dts/framework/remote_session/remote/testpmd_shell.py |  2 +-\n dts/framework/testbed_model/sut_node.py              | 11 +++++++----\n 2 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/dts/framework/remote_session/remote/testpmd_shell.py b/dts/framework/remote_session/remote/testpmd_shell.py\nindex 3ea16c7ab3..3f6a86aa35 100644\n--- a/dts/framework/remote_session/remote/testpmd_shell.py\n+++ b/dts/framework/remote_session/remote/testpmd_shell.py\n@@ -32,7 +32,7 @@ def _start_application(\n         self, get_privileged_command: Callable[[str], str] | None\n     ) -> None:\n         \"\"\"See \"_start_application\" in InteractiveShell.\"\"\"\n-        self._app_args += \" -- -i\"\n+        self._app_args += \" -i\"\n         super()._start_application(get_privileged_command)\n \n     def get_devices(self) -> list[TestPmdDevice]:\ndiff --git a/dts/framework/testbed_model/sut_node.py b/dts/framework/testbed_model/sut_node.py\nindex 4161d3a4d5..bcac939e72 100644\n--- a/dts/framework/testbed_model/sut_node.py\n+++ b/dts/framework/testbed_model/sut_node.py\n@@ -377,7 +377,8 @@ def create_interactive_shell(\n         shell_cls: Type[InteractiveShellType],\n         timeout: float = SETTINGS.timeout,\n         privileged: bool = False,\n-        eal_parameters: EalParameters | str | None = None,\n+        eal_parameters: EalParameters | str = \"\",\n+        app_parameters: str = \"\",\n     ) -> InteractiveShellType:\n         \"\"\"Factory method for creating a handler for an interactive session.\n \n@@ -392,12 +393,14 @@ def create_interactive_shell(\n             eal_parameters: List of EAL parameters to use to launch the app. If this\n                 isn't provided or an empty string is passed, it will default to calling\n                 create_eal_parameters().\n+            app_parameters: Additional arguments to pass into the application on the\n+                command-line.\n         Returns:\n             Instance of the desired interactive application.\n         \"\"\"\n-        if not eal_parameters:\n+        if not eal_parameters and shell_cls.dpdk_app:\n             eal_parameters = self.create_eal_parameters()\n-\n+            eal_parameters = f\"{eal_parameters} --\"\n         # We need to append the build directory for DPDK apps\n         if shell_cls.dpdk_app:\n             shell_cls.path = self.main_session.join_remote_path(\n@@ -405,7 +408,7 @@ def create_interactive_shell(\n             )\n \n         return super().create_interactive_shell(\n-            shell_cls, timeout, privileged, str(eal_parameters)\n+            shell_cls, timeout, privileged, f\"{eal_parameters} {app_parameters}\"\n         )\n \n     def bind_ports_to_driver(self, for_dpdk: bool = True) -> None:\n",
    "prefixes": [
        "v2",
        "4/7"
    ]
}