[spp] [PATCH 5/5] docs: update command example in usecase2

x-fn-spp at sl.ntt-tx.co.jp x-fn-spp at sl.ntt-tx.co.jp
Fri Dec 28 04:29:27 CET 2018


From: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>

Update command example because `sec` command is changed to `mirror` for
spp_mirror.

Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki at lab.ntt.co.jp>
---
 docs/guides/spp_vf/use_cases/usecase2.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/docs/guides/spp_vf/use_cases/usecase2.rst b/docs/guides/spp_vf/use_cases/usecase2.rst
index 2447cfa..39b8ca6 100644
--- a/docs/guides/spp_vf/use_cases/usecase2.rst
+++ b/docs/guides/spp_vf/use_cases/usecase2.rst
@@ -85,6 +85,12 @@ and launch ``spp_vf`` with core list ``-l 0,2-14`` in this usecase.
        -s 127.0.0.1:6666 \
        --vhost-client
 
+Start CLI.
+
+.. code-block:: console
+
+   $ python src/spp.py
+
 Start components in ``spp_vf``.
 
 .. code-block:: console
@@ -174,7 +180,7 @@ Start mirror component with core ID 15.
 .. code-block:: console
 
     # Start component of spp_mirror on coreID 15
-    spp > sec 2; component start mirror1 15 mirror
+    spp > mirror 2; component start mirror1 15 mirror
 
 Add ``ring:0`` as rx ports and add ``ring:8`` and ``ring:9`` as tx port
 to mirror.
-- 
2.17.1



More information about the spp mailing list