Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com, x-fn-spp@sl.ntt-tx.co.jp
Cc: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>,
	Kentaro Watanabe <watanabe.kentaro.z01@as.ntt-tx.co.jp>,
	Naoki Takada <takada.naoki@lab.ntt.co.jp>
Subject: [spp] [PATCH 16/28] doc: add explanation for terminating spp app
Date: Tue, 23 Jan 2018 09:29:04 +0900	[thread overview]
Message-ID: <20180123002907.28414-7-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>

Add a chapter that describes procedures for terminating spp application.

Signed-off-by: Kentaro Watanabe <watanabe.kentaro.z01@as.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
 docs/spp_vf/sample_usage.md | 46 +++++++++++++++++++++++++++++++--------------
 1 file changed, 32 insertions(+), 14 deletions(-)

diff --git a/docs/spp_vf/sample_usage.md b/docs/spp_vf/sample_usage.md
index ce68867..8653a49 100644
--- a/docs/spp_vf/sample_usage.md
+++ b/docs/spp_vf/sample_usage.md
@@ -188,20 +188,38 @@ Now, you can login VMs.
   $ ssh sppuser@192.168.150.32
   ```
 
-If you unregister the addresses, send request as following.
+## End Application
+
+Describe the procedure to end the application.
+
+### Remove MAC address from Classifier
+
+It is possible to remove the MAC address set by inputting the following
+command from `spp_vf.py` which was started with `Setup SPP`.
+The flush command is required to reflect the setting.
 
   ```sh
-  {
-    "commands": [
-      {
-        "command": "classifier_table",
-        "type": "mac",
-        "value": "52:54:00:12:34:58",
-        "port": "unuse"
-      },
-      {
-        "command": "flush"
-      }
-    ]
-  }
+  spp > classifier_table mac 52:54:00:12:34:56 unuse
+  spp > classifier_table mac 52:54:00:12:34:58 unuse
+  spp > flush
+  ```
+
+### Teardown SPP
+
+Tear down SPP in the reverse order of Setup.
+To stop other than spp_vf.py, press Ctrl + C on the launched screen.
+spp_vf.py can be stopped by the bye command.
+
+  ```sh
+  # stop secondary 2
+  Ctrl + C
+
+  # stop secondary 1
+  Ctrl + C
+
+  # stop primary
+  Ctrl + C
+
+  # stop controller
+  spp > bye
   ```
-- 
2.13.1

  parent reply	other threads:[~2018-01-23  0:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  0:28 [spp] [PATCH 10/28] doc: revice path descs ogawa.yasufumi
2018-01-23  0:28 ` [spp] [PATCH 11/28] doc: add network configuration diagram ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 12/28] doc: update user account ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 13/28] doc: update descriptions for todo ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 14/28] doc: add description for explanation section ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 15/28] doc: add spp_sample_usage_svg in docs/spp_vf/ ogawa.yasufumi
2018-01-23  0:29 ` ogawa.yasufumi [this message]
2018-01-23  0:29 ` [spp] [PATCH 17/28] doc: add explanations on options of spp ogawa.yasufumi
2018-01-23  0:29 ` [spp] [PATCH 18/28] doc: update description for the latest spp version ogawa.yasufumi

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=20180123002907.28414-7-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=nakamura.hioryuki@po.ntt-tx.co.jp \
    --cc=spp@dpdk.org \
    --cc=takada.naoki@lab.ntt.co.jp \
    --cc=watanabe.kentaro.z01@as.ntt-tx.co.jp \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    /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).