get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114597,
    "url": "http://patches.dpdk.org/api/patches/114597/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220804165855.12308-1-zhiminx.huang@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": "<20220804165855.12308-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220804165855.12308-1-zhiminx.huang@intel.com",
    "date": "2022-08-04T16:58:54",
    "name": "[V2,1/2] test_plans/telemetry:add 22.07 new feature",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "8e321b0f1aa99afc4d586128d51f7dca11bc6137",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220804165855.12308-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 24197,
            "url": "http://patches.dpdk.org/api/series/24197/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24197",
            "date": "2022-08-04T16:58:54",
            "name": "[V2,1/2] test_plans/telemetry:add 22.07 new feature",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24197/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114597/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/114597/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 333C4A00C4;\n\tThu,  4 Aug 2022 10:39:58 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 28D3C4068E;\n\tThu,  4 Aug 2022 10:39:58 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id A937B4003F\n for <dts@dpdk.org>; Thu,  4 Aug 2022 10:39:56 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Aug 2022 01:39:55 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.93])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Aug 2022 01:39:53 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1659602396; x=1691138396;\n h=from:to:cc:subject:date:message-id;\n bh=+JoLQA19rLahxZGaE/UOXl2td3wY2d0j3vKZs1fiS9s=;\n b=bs9ooIL2GH4kkQxxogYGNAtQlBLz4jKMoTonB1F3zP/Htl2cF0EV1689\n xuX0+PZuiW0KwgR8Kl1LNL986uLlq//ZlqsP/KlVs1/2l3iVBrJ6zty+a\n ol0EiGr55lam4bRt6LUwR62ldiXn9VEP3JPm56vrYHKQKV/1uDqMj2F4M\n 2Et56R5kEcANmb3SXfge4BlsBPPSa0u7KA8CgzqAI5eEkaT/YBRo20dC+\n E5GHJkD//G19fQlU/Ar6A5ZaXzHOljzUbhQKyVir52thlxNcorr2VZkIK\n FLaD9lFJuZPn9EBAKarp7rIM+5U243wGkzJ1FjLj1JlbQFXX9cJJoyvNP g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10428\"; a=\"315751680\"",
            "E=Sophos;i=\"5.93,215,1654585200\"; d=\"scan'208\";a=\"315751680\"",
            "E=Sophos;i=\"5.93,215,1654585200\"; d=\"scan'208\";a=\"662444647\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts][PATCH V2 1/2] test_plans/telemetry:add 22.07 new feature",
        "Date": "Fri,  5 Aug 2022 00:58:54 +0800",
        "Message-Id": "<20220804165855.12308-1-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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"
    },
    "content": "add 22.07 new feature, support get laser power value in telemetry client.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/telemetry_test_plan.rst | 70 +++++++++++++++++++++++++++++-\n 1 file changed, 69 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test_plans/telemetry_test_plan.rst b/test_plans/telemetry_test_plan.rst\nindex 16568cd3..4034a541 100644\n--- a/test_plans/telemetry_test_plan.rst\n+++ b/test_plans/telemetry_test_plan.rst\n@@ -200,4 +200,72 @@ Test case:  Stats of 4 ports for testpmd and telemetry with different  type nic\n \ta.\tEnsure # of ports stats being returned == # of ports\n \tb.\tEnsure packet counts (eg rx_good_packets) is 0\n \tc.   Ensure extended NIC stats are shown (depends on PMD used for testing, refer to ixgbe/i40e tests for PMD xstats)\n-\td.\tEnsure extended NIC stats are 0 (eg: rx_q0_packets == 0)\n\\ No newline at end of file\n+\td.\tEnsure extended NIC stats are 0 (eg: rx_q0_packets == 0)\n+\n+Test case: read nic Laser Power via dpdk\n+========================================\n+\n+1.Bind ports to dpdk::\n+\n+      ./usertools/dpdk-devbind.py --bind=vfio-pci 18:00.0 18.00.1 88:00.0 88:00.1\n+\n+2.Launch the dpdk testpmd with teltmetry::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --telemetry  -- -i\n+\n+3.Launch the telemetry client::\n+\n+      python ./usertools/dpdk-telemetry.py\n+\n+4.Excute command in telemtry client::\n+\n+      --> /ethdev/module_eeprom,<port number>\n+\n+5.check the testpmd and telemetry show info same as 'ethtool -m'::\n+\n+      ethtool -m ens25f1 | grep 'Laser output power'\n+      Laser output power                        : 0.6703 mW / -1.74 dBm\n+\n+Test case: check Laser Power in different optical modules\n+=========================================================\n+\n+1.set port 0 and port 1 with diffent optical modules\n+\n+2.Launch the dpdk testpmd with teltmetry::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --telemetry  -- -i\n+\n+3.Launch the telemetry client::\n+\n+      python ./usertools/dpdk-telemetry.py\n+\n+4.Excute command in telemtry client::\n+\n+      --> /ethdev/module_eeprom,0\n+      --> /ethdev/module_eeprom,1\n+\n+5.check port 0 and port 1 have different Laser Power\n+\n+Test case: check Laser Power in same optical modules\n+====================================================\n+\n+1.set port 0 and port 1 with same optical modules\n+\n+2.Launch the dpdk testpmd with teltmetry::\n+\n+      ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd --telemetry  -- -i\n+\n+3.Launch the telemetry client::\n+\n+      python ./usertools/dpdk-telemetry.py\n+\n+4.Excute command in telemtry client::\n+\n+      --> /ethdev/module_eeprom,0\n+      --> /ethdev/module_eeprom,1\n+\n+5.check port 0 and port 1 have same Laser Power\n+\n+.. note::\n+\n+   the laser power will change slightly with the voltage and temperature\n",
    "prefixes": [
        "V2",
        "1/2"
    ]
}