Show a cover letter.

GET /api/covers/45424/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 45424,
    "url": "http://patches.dpdk.org/api/covers/45424/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/cover/20180926163727.47337-1-david.hunt@intel.com/",
    "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": "<20180926163727.47337-1-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180926163727.47337-1-david.hunt@intel.com",
    "date": "2018-09-26T16:37:17",
    "name": "[v5,0/10] add json power policy interface for containers",
    "submitter": {
        "id": 342,
        "url": "http://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/cover/20180926163727.47337-1-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 1524,
            "url": "http://patches.dpdk.org/api/series/1524/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1524",
            "date": "2018-09-26T16:37:19",
            "name": "add json power policy interface for containers",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/1524/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/45424/comments/",
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@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 ECFBF1B43C;\n\tWed, 26 Sep 2018 18:42:09 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 1FCFD1B397\n\tfor <dev@dpdk.org>; Wed, 26 Sep 2018 18:42:00 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t26 Sep 2018 09:41:58 -0700",
            "from silpixa00399952.ir.intel.com (HELO\n\tsilpixa00399952.ger.corp.intel.com) ([10.237.223.64])\n\tby fmsmga006.fm.intel.com with ESMTP; 26 Sep 2018 09:37:29 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,306,1534834800\"; d=\"scan'208\";a=\"266907070\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "john.mcnamara@intel.com, stephen@networkplumber.org, lei.a.yao@intel.com,\n\tanatoly.burakov@intel.com",
        "Date": "Wed, 26 Sep 2018 17:37:17 +0100",
        "Message-Id": "<20180926163727.47337-1-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180926134037.43606-1-david.hunt@intel.com>",
        "References": "<20180926134037.43606-1-david.hunt@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 0/10] add json power policy interface for\n\tcontainers",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <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\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\nPatch v4:\n  * Split out some unrelated changes to separate patches in the set\n  * Some changes out of review by Anatoly (Thanks!)\n\nPatch v5:\n  * Removed the directory with JSON examples, as they already exist in\n    the documentation.\n  * Fixed some typos and formatting issues in the documentation.\n  * Changed the JSON examples in the documentation to 'javascript' causing\n    the syntax to be highlighted nicely.\n  * Inherited the Acks from previous version.\n\n[01/10] examples/power: add checks around hypervisor\n[02/10] examples/power: allow for number of vms to be zero\n[03/10] lib/power: add changes for host commands/policies\n[04/10] examples/power: add necessary changes to guest app\n[05/10] examples/power: add host channel to power manager\n[06/10] examples/power: increase allowed number of clients\n[07/10] examples/power: add json string handling\n[08/10] examples/power: clean up verbose messages\n[09/10] examples/power: add meson/ninja build support\n[10/10] doc/vm_power_manager: add JSON interface API info"
}