DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: updated json sample code for fifo interface
@ 2019-03-29 10:11 Lukasz Krakowiak
  2019-03-29 10:11 ` Lukasz Krakowiak
  2019-03-29 10:22 ` [dpdk-dev] [PATCH v2] " Lukasz Krakowiak
  0 siblings, 2 replies; 18+ messages in thread
From: Lukasz Krakowiak @ 2019-03-29 10:11 UTC (permalink / raw)
  To: david.hunt; +Cc: dev, Lukasz Krakowiak

Updated doc for JSON sample code related to vm_power_manager
fifo inteface: "command": "destroy", "command": "power".
Corrected typo in doc vm_power_management.rst: 'json' instead
of 'jason'.

Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
---
 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
     }}
-- 
2.19.2.windows.1

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-05-13 16:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-29 10:11 [dpdk-dev] [PATCH] doc: updated json sample code for fifo interface Lukasz Krakowiak
2019-03-29 10:11 ` Lukasz Krakowiak
2019-03-29 10:22 ` [dpdk-dev] [PATCH v2] " Lukasz Krakowiak
2019-03-29 10:22   ` Lukasz Krakowiak
2019-04-15 15:06   ` Hunt, David
2019-04-15 15:06     ` Hunt, David
2019-04-22 22:30   ` Thomas Monjalon
2019-04-22 22:30     ` Thomas Monjalon
2019-05-09 18:57     ` Thomas Monjalon
2019-05-09 18:57       ` Thomas Monjalon
2019-05-13  9:04   ` [dpdk-dev] [PATCH v3] " David Hunt
2019-05-13  9:04     ` David Hunt
2019-05-13 13:49     ` Thomas Monjalon
2019-05-13 13:49       ` Thomas Monjalon
2019-05-13 14:13     ` [dpdk-dev] [PATCH v4] " David Hunt
2019-05-13 14:13       ` David Hunt
2019-05-13 16:57       ` Thomas Monjalon
2019-05-13 16:57         ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).