[spp] [PATCH 24/28] docs: fix incorrect descriptions of spp_vf

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Mon Feb 5 03:46:20 CET 2018


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

Correct descriptions for classifier_table command.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at 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



More information about the spp mailing list