[v4] doc: updated json sample code for fifo interface
Checks
Commit Message
From: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
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>
---
doc/guides/sample_app_ug/vm_power_management.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Comments
13/05/2019 16:13, David Hunt:
> From: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
>
> 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>
Applied, thanks
@@ -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
}}