summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLukasz Krakowiak <lukaszx.krakowiak@intel.com>2019-05-13 15:13:55 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-05-13 18:57:37 +0200
commitdeb103d7abc5b160f4b4e5e8db554f5098aca84b (patch)
tree256331a4373f313e6e5281d44d6076ef883a1caf /doc
parent657b6df96e6361b12d07b844f1011432d57cfa3a (diff)
downloaddpdk-draft-windows-deb103d7abc5b160f4b4e5e8db554f5098aca84b.zip
dpdk-draft-windows-deb103d7abc5b160f4b4e5e8db554f5098aca84b.tar.gz
dpdk-draft-windows-deb103d7abc5b160f4b4e5e8db554f5098aca84b.tar.xz
doc: fix JSON interface for power sample
Updated doc for JSON sample code related to vm_power_manager fifo interface: "command": "destroy", "command": "power". There is no code change to go with this doc update, it is to fix the docs to match the implementation in the code. Fixes: a63504a90f ("examples/power: add JSON string handling") Cc: stable@dpdk.org Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/sample_app_ug/vm_power_management.rst5
1 files 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 109d109..5d9a261 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
}}