From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 10/14] docs: update secondary commands
Date: Mon, 12 Mar 2018 15:29:01 +0900 [thread overview]
Message-ID: <1520836145-29134-11-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1520836145-29134-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
docs/guides/commands/secondary.rst | 41 ++++++++++++++------------------------
1 file changed, 15 insertions(+), 26 deletions(-)
diff --git a/docs/guides/commands/secondary.rst b/docs/guides/commands/secondary.rst
index 8186e5d..d3566ad 100644
--- a/docs/guides/commands/secondary.rst
+++ b/docs/guides/commands/secondary.rst
@@ -53,11 +53,10 @@ Show running status and resources.
.. code-block:: console
spp > sec 1;status
- recv:7:{Client ID 1 Idling
- 1
- port id: 0,on,PHY,outport: none
- port id: 1,on,PHY,outport: none
- }
+ status: idling
+ ports:
+ - 'phy:0'
+ - 'phy:1'
add
@@ -70,27 +69,23 @@ Adding ring 0 by
.. code-block:: console
spp> sec 1;add ring 0
- recv:7:{addring0}
Or adding vhost 0 by
.. code-block:: console
spp> sec 1;add vhost 0
- recv:7:{addvhost0}
patch
------
Create a path between two ports, source and destination ports.
-Port ID is referred by status sub commnad.
This command just creates path and does not start forwarding.
.. code-block:: console
- spp > sec 1;patch 0 2
- recv:7:{patch02}
+ spp > sec 1;patch phy:0 ring:0
forward
@@ -101,19 +96,17 @@ Start forwarding.
.. code-block:: console
spp > sec 1;forward
- recv:7:{start forwarding}
-Running status is changed from ``Idling`` to ``Running`` by
+Running status is changed from ``idling`` to ``running`` by
executing it.
.. code-block:: console
spp > sec 1;status
- recv:7:{Client ID 1 Running
- 1
- port id: 0,on,PHY,outport: none
- port id: 1,on,PHY,outport: none
- }
+ status: running
+ ports:
+ - 'phy:0'
+ - 'phy:1'
stop
@@ -124,19 +117,17 @@ Stop forwarding.
.. code-block:: console
spp > sec 1;stop
- recv:7:{start forwarding}
-Running status is changed from ``Running`` to ``Idling`` by
+Running status is changed from ``running`` to ``idling`` by
executing it.
.. code-block:: console
spp > sec 1;status
- recv:7:{Client ID 1 Running
- 1
- port id: 0,on,PHY,outport: none
- port id: 1,on,PHY,outport: none
- }
+ status: idling
+ ports:
+ - 'phy:0'
+ - 'phy:1'
del
@@ -147,7 +138,6 @@ Delete PMD added by ``add`` subcommand from the secondary.
.. code-block:: console
spp> sec 1;del ring 0
- recv:7:{delring0}
exit
@@ -159,4 +149,3 @@ command instead of it.
.. code-block:: console
spp> sec 1;exit
- recv:7:{delring0}
--
2.7.4
next prev parent reply other threads:[~2018-03-12 6:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-12 6:28 [spp] [PATCH 00/14] Update documents ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 01/14] docs: move overview image ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 02/14] docs: correct paths of executable ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 03/14] docs: replace images to svg ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 04/14] docs: add svg spp_nfv_l2fwd ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 05/14] docs: add svg spp_two_nfv_l2fwd ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 06/14] docs: add svg spp_two_nfv_loopback ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 07/14] docs: add svg spp_unidir_l2fwd ogawa.yasufumi
2018-03-12 6:28 ` [spp] [PATCH 08/14] docs: add svg spp_bidir_l2fwd ogawa.yasufumi
2018-03-12 6:29 ` [spp] [PATCH 09/14] docs: add svg spp_unidir_l2fwd_vhost ogawa.yasufumi
2018-03-12 6:29 ` ogawa.yasufumi [this message]
2018-03-12 6:29 ` [spp] [PATCH 11/14] docs: update experimental commands ogawa.yasufumi
2018-03-12 6:29 ` [spp] [PATCH 12/14] docs: add svg topo_term_exp ogawa.yasufumi
2018-03-12 6:29 ` [spp] [PATCH 13/14] docs: add svg for topo_subgraph ogawa.yasufumi
2018-03-12 6:29 ` [spp] [PATCH 14/14] docs: update docs version to 18.02 ogawa.yasufumi
2018-03-27 23:56 ` [spp] [PATCH 00/14] Update documents Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520836145-29134-11-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).