From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9F60711C5 for ; Mon, 13 May 2019 11:04:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 May 2019 02:04:35 -0700 X-ExtLoop1: 1 Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga004.jf.intel.com with ESMTP; 13 May 2019 02:04:34 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com, Lukasz Krakowiak Date: Mon, 13 May 2019 10:04:24 +0100 Message-Id: <20190513090424.3462-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> References: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> Subject: [dpdk-dev] [PATCH v3] 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: , X-List-Received-Date: Mon, 13 May 2019 09:04:37 -0000 From: Lukasz Krakowiak Updated doc for JSON sample code related to vm_power_manager fifo interface: "command": "destroy", "command": "power". Signed-off-by: Lukasz Krakowiak Acked-by: David Hunt --- v2: * coding style improved v3: * move Signed-off-by: to correct location in patch file. * rebase to master --- doc/guides/sample_app_ug/vm_power_management.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst index 109d10957..5d9a26172 100644 --- a/doc/guides/sample_app_ug/vm_power_management.rst +++ b/doc/guides/sample_app_ug/vm_power_management.rst @@ -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 }} -- 2.17.1 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 E3E51A00E6 for ; Mon, 13 May 2019 11:04:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4DC02BC1; Mon, 13 May 2019 11:04:37 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9F60711C5 for ; Mon, 13 May 2019 11:04:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 May 2019 02:04:35 -0700 X-ExtLoop1: 1 Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga004.jf.intel.com with ESMTP; 13 May 2019 02:04:34 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com, Lukasz Krakowiak Date: Mon, 13 May 2019 10:04:24 +0100 Message-Id: <20190513090424.3462-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> References: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> Subject: [dpdk-dev] [PATCH v3] 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190513090424.2ptdIgSOghXshkY_RMBojT9NqRNdt3yDRy8fqWMOMLc@z> From: Lukasz Krakowiak Updated doc for JSON sample code related to vm_power_manager fifo interface: "command": "destroy", "command": "power". Signed-off-by: Lukasz Krakowiak Acked-by: David Hunt --- v2: * coding style improved v3: * move Signed-off-by: to correct location in patch file. * rebase to master --- doc/guides/sample_app_ug/vm_power_management.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst index 109d10957..5d9a26172 100644 --- a/doc/guides/sample_app_ug/vm_power_management.rst +++ b/doc/guides/sample_app_ug/vm_power_management.rst @@ -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 }} -- 2.17.1