Show a cover letter.

GET /api/covers/44721/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 44721,
    "url": "http://patches.dpdk.org/api/covers/44721/",
    "web_url": "http://patches.dpdk.org/cover/44721/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20180914135406.52190-1-david.hunt@intel.com>",
    "date": "2018-09-14T13:53:58",
    "name": "[v3,0/8] add json power policy interface for containers",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/",
        "name": "David Hunt",
        "email": "david.hunt@intel.com"
    },
    "mbox": "http://patches.dpdk.org/cover/44721/mbox/",
    "series": [
        {
            "id": 1322,
            "url": "http://patches.dpdk.org/api/series/1322/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1322",
            "date": "2018-09-14T13:53:58",
            "name": "add json power policy interface for containers",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/1322/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/44721/comments/",
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": "E=Sophos;i=\"5.53,373,1531810800\"; d=\"scan'208\";a=\"257257187\"",
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "References": "<20180912144930.50578-1-david.hunt@intel.com>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v3 0/8] add json power policy interface for\n\tcontainers",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E7A3358CB;\n\tFri, 14 Sep 2018 15:54:12 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id 127EE58C4\n\tfor <dev@dpdk.org>; Fri, 14 Sep 2018 15:54:10 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 Sep 2018 06:54:09 -0700",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby orsmga005.jf.intel.com with ESMTP; 14 Sep 2018 06:54:08 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Fri, 14 Sep 2018 14:53:58 +0100",
        "To": "dev@dpdk.org",
        "From": "David Hunt <david.hunt@intel.com>",
        "In-Reply-To": "<20180912144930.50578-1-david.hunt@intel.com>",
        "Cc": "john.mcnamara@intel.com, stephen@networkplumber.org, lei.a.yao@intel.com,\n\tbruce.richardson@intel.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20180914135406.52190-1-david.hunt@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "The current vm_power_manager example app has the capability to accept power\npolicies from virtual machines via virtio-serial channels. These power\npolicies  allow a virtual machine to give information to the power manager\nto allow the power manager take care of the power management of the virtual\nmachine based on the information in the policy.\n\nThis power policy functionality is limited to virtual machines sending\nthe policies to the power manager (which runs in the Host OS), and a solution\nwas needed for additional methods of sending power policies to the power\nmanager app.\n\nThe main use-case for this modification is for containers and host\napplications that wish to send polices to the power manager.\n\nThis patchset adds the capability to send power polices and power commands\nto the vm_power_manager app via JSON strings through a fifo on the file\nsystem.\nFor example, given the following file, policy.json:\n\n{\"policy\": {\n  \"name\": \"ubuntu2\",\n  \"command\": \"create\",\n  \"policy_type\": \"TIME\",\n  \"busy_hours\":[ 17, 18, 19, 20, 21, 22, 23 ],\n  \"quiet_hours\":[ 2, 3, 4, 5, 6 ],\n  \"core_list\":[ 11, 12, 13 ]\n}}\n\nThen running the command:\n\ncat policy.json >/tmp/powermonitor/fifo.0\n\nThe policy is sent to the vm_power_manager. The power manager app then parses\nthe JSON data, and inserts the policy into the array of policies.\n\nPart of the patch series contains documentation updates to give all the\ndetails of the valid name-value pairs, the data types, etc.\n\nPatch v2:\n  * Fixed review comments from Stephen Hemminger and Lei A Yao.\n  * Added a check in the Makefile for libjansson-dev. Will Warn user and build\n    without JSON functionality if not present, will build including JSON\n    functionality if it is present.\n\nPatch v3:\n  * Added meson/ninja support for vm_power_manager and guest_cli apps\n  * Fixed compilation issue with guest_cli app\n\n[1/8] examples/power: add checks around hypervisor\n[2/8] lib/power: add changes for host commands/policies\n[3/8] examples/power: add necessary changes to guest app\n[4/8] examples/power: add host channel to power manager\n[5/8] examples/power: add json string handling\n[6/8] examples/power: add meson/ninja build support\n[7/8] doc/vm_power_manager: add JSON interface API info\n[8/8] examples/power: add json example files"
}