get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114586,
    "url": "http://patches.dpdk.org/api/patches/114586/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220803224608.7123-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": "<20220803224608.7123-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220803224608.7123-1-zhiminx.huang@intel.com",
    "date": "2022-08-03T22:46:07",
    "name": "[V1,1/2] test_plans/telemetry:add 22.07 new feature case",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f95a6371e187674842fa17cda2bcfcd08d2d5c93",
    "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/20220803224608.7123-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 24192,
            "url": "http://patches.dpdk.org/api/series/24192/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24192",
            "date": "2022-08-03T22:46:07",
            "name": "[V1,1/2] test_plans/telemetry:add 22.07 new feature case",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24192/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114586/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/114586/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 72729A00C5;\n\tWed,  3 Aug 2022 16:27:03 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 687F140A7E;\n\tWed,  3 Aug 2022 16:27:03 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 8A97D40141\n for <dts@dpdk.org>; Wed,  3 Aug 2022 16:27:02 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Aug 2022 07:27:01 -0700",
            "from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Aug 2022 07:27:00 -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=1659536822; x=1691072822;\n h=from:to:cc:subject:date:message-id;\n bh=m6FmzYCt/EhDg2lMUGHfykKaKmFhS/YdS9t0plCEjYA=;\n b=EFbxJh6ppSy6+ipZcShl7HlQScgw16gvinlao9ppmXxznHDjENsfm2Jz\n z5DL3/WT/nojmzolCEURKJkEhUaOGcyYJhfQM+wXo9Ys8a4tx7ooJqbIW\n +cjla9k+cOTc2FjIAw69GtCRadeT4QXtXib4K5F5u70FdK8JkdL7nk6bC\n c8XPffqEmnjNnxjiZdMoebOJfrhXw71NNH8YHC3zwYh5gYlM38Uo2AroV\n t1nAYeOAebhVmltNDZ5wCoPfHQWOQIpUWVcaIOvk9VIAZHyLx/j0I/gyL\n 2e+cCUv9kfGjQiTW8CQYRjPLjz+XFlqjXe+nGCtDMHLlCs8xM3ugHDwzh w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10428\"; a=\"351396858\"",
            "E=Sophos;i=\"5.93,214,1654585200\"; d=\"scan'208\";a=\"351396858\"",
            "E=Sophos;i=\"5.93,214,1654585200\"; d=\"scan'208\";a=\"631167520\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts][PATCH V1 1/2] test_plans/telemetry:add 22.07 new feature case",
        "Date": "Thu,  4 Aug 2022 06:46:07 +0800",
        "Message-Id": "<20220803224608.7123-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 | 67 +++++++++++++++++++++++++++++-\n 1 file changed, 66 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/test_plans/telemetry_test_plan.rst b/test_plans/telemetry_test_plan.rst\nindex 16568cd3..bca142fc 100644\n--- a/test_plans/telemetry_test_plan.rst\n+++ b/test_plans/telemetry_test_plan.rst\n@@ -200,4 +200,69 @@ 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+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": [
        "V1",
        "1/2"
    ]
}