From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 74D74A00E6 for ; Mon, 15 Apr 2019 17:06:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B9E11B293; Mon, 15 Apr 2019 17:06:52 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 789551B21A for ; Mon, 15 Apr 2019 17:06:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 08:06:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="135975860" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.157]) ([10.237.210.157]) by orsmga006.jf.intel.com with ESMTP; 15 Apr 2019 08:06:49 -0700 To: Lukasz Krakowiak Cc: dev@dpdk.org References: <20190329101104.18360-1-lukaszx.krakowiak@intel.com> <20190329102219.17876-1-lukaszx.krakowiak@intel.com> From: "Hunt, David" Message-ID: <947f7f12-9ac1-2f6f-6f4f-b8df975c666d@intel.com> Date: Mon, 15 Apr 2019 16:06:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v2] doc: updated json sample code for fifo interface X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190415150648.ljBxpGLWID3iNaQq9ONtpS1HlEVkwbUxLAn508Z6zvs@z> On 29/3/2019 10:22 AM, Lukasz Krakowiak wrote: > Updated doc for JSON sample code related to vm_power_manager > fifo interface: "command": "destroy", "command": "power". > Corrected typo in doc vm_power_management.rst: 'json' instead > of 'jason'. > > --- > v2: > * coding style improved > > Signed-off-by: Lukasz Krakowiak > --- > doc/guides/sample_app_ug/vm_power_management.rst | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst > index 14d432e78..0182a92b3 100644 > --- a/doc/guides/sample_app_ug/vm_power_management.rst > +++ b/doc/guides/sample_app_ug/vm_power_management.rst > @@ -384,7 +384,7 @@ the file. > > The fifo is at /tmp/powermonitor/fifo > > -The jason string can be a policy or instruction, and takes the following > +The json string can be a policy or instruction, and takes the following > format: > > .. code-block:: javascript > @@ -597,7 +597,7 @@ Profile destroy example: > > .. code-block:: javascript > > - {"profile": { > + {"policy": { > "name": "ubuntu", > "command": "destroy", > }} > @@ -606,8 +606,9 @@ Power command example: > > .. code-block:: javascript > > - {"command": { > + {"instruction": { > "name": "ubuntu", > + "command": "power", > "unit": "SCALE_MAX", > "resource_id": 10 > }} Acked-by: David Hunt