Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 24/28] docs: fix incorrect descriptions of spp_vf
@ 2018-02-05  2:46 ogawa.yasufumi
  0 siblings, 0 replies; only message in thread
From: ogawa.yasufumi @ 2018-02-05  2:46 UTC (permalink / raw)
  To: ferruh.yigit, spp, nakamura.hiroyuki; +Cc: Yasufumi Ogawa

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

Correct descriptions for classifier_table command.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 docs/guides/spp_vf/commands/secondary.rst |  2 +-
 docs/guides/spp_vf/use_cases/usecase1.rst | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/guides/spp_vf/commands/secondary.rst b/docs/guides/spp_vf/commands/secondary.rst
index bbbe69e..564e9af 100644
--- a/docs/guides/spp_vf/commands/secondary.rst
+++ b/docs/guides/spp_vf/commands/secondary.rst
@@ -207,7 +207,7 @@ to classifier table.
 
 .. code-block:: console
 
-    spp > sec 1;classifier_table add mac [MAC_ADDRESS] [RES_ID]
+    spp > sec [SEC_ID];classifier_table add mac [MAC_ADDRESS] [RES_ID]
 
 This is an example to register an entry for port ``ring:0``.
 
diff --git a/docs/guides/spp_vf/use_cases/usecase1.rst b/docs/guides/spp_vf/use_cases/usecase1.rst
index d45011e..46726b4 100644
--- a/docs/guides/spp_vf/use_cases/usecase1.rst
+++ b/docs/guides/spp_vf/use_cases/usecase1.rst
@@ -177,15 +177,15 @@ MAC address and corresponging port is registered to the table with
 
 .. code-block:: console
 
-    spp > classifier_table add mac [MACADDRESS] [PORT]
+    spp > [SEC_ID];classifier_table add mac [MACADDRESS] [PORT]
 
 In this usecase, you need to register two MAC addresses for merger1.
 
 .. code-block:: console
 
     # Register MAC address to classifier
-    spp > classifier_table add mac 52:54:00:12:34:56 ring:0
-    spp > classifier_table add mac 52:54:00:12:34:58 ring:1
+    spp > sec 1;classifier_table add mac 52:54:00:12:34:56 ring:0
+    spp > sec 1;classifier_table add mac 52:54:00:12:34:58 ring:1
 
 
 Configuration for the second login path is almost similar to the first
@@ -232,8 +232,8 @@ Register entries to classifier_table for classifier2.
 .. code-block:: console
 
     # Register MAC address to classifier
-    spp > classifier_table add mac 52:54:00:12:34:57 ring:4
-    spp > classifier_table add mac 52:54:00:12:34:59 ring:5
+    spp > sec 1;classifier_table add mac 52:54:00:12:34:57 ring:4
+    spp > sec 1;classifier_table add mac 52:54:00:12:34:59 ring:5
 
 Finally, activate all of settings by doign `flush` subcommand.
 
@@ -332,8 +332,8 @@ for the first SSH login path.
 .. code-block:: console
 
     # Delete MAC address from Classifier
-    spp > classifier_table del mac 51:54:00:12:34:56 ring:0
-    spp > classifier_table del mac 51:54:00:12:34:58 ring:1
+    spp > sec 1;classifier_table del mac 51:54:00:12:34:56 ring:0
+    spp > sec 1;classifier_table del mac 51:54:00:12:34:58 ring:1
 
 .. code-block:: console
 
@@ -377,8 +377,8 @@ components.
 .. code-block:: console
 
     # Delete MAC address from Classifier
-    spp > classifier_table del mac 51:54:00:12:34:57 ring:4
-    spp > classifier_table del mac 51:54:00:12:34:59 ring:5
+    spp > sec 1;classifier_table del mac 51:54:00:12:34:57 ring:4
+    spp > sec 1;classifier_table del mac 51:54:00:12:34:59 ring:5
 
 .. code-block:: console
 
-- 
2.13.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-05  2:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05  2:46 [spp] [PATCH 24/28] docs: fix incorrect descriptions of spp_vf ogawa.yasufumi

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).