From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0409.ocn.ad.jp (mogw0409.ocn.ad.jp [118.23.109.37]) by dpdk.org (Postfix) with ESMTP id 8A21CA56E for ; Tue, 23 Jan 2018 01:29:00 +0100 (CET) Received: from mf-smf-ucb020c2 (mf-smf-ucb020c2.ocn.ad.jp [153.153.66.134]) by mogw0409.ocn.ad.jp (Postfix) with ESMTP id DDE10F025D; Tue, 23 Jan 2018 09:28:58 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb023 ([153.149.142.86]) by mf-smf-ucb020c2 with ESMTP id dmSKexnBmx3I4dmSQeqOz3; Tue, 23 Jan 2018 09:28:58 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.133]) by ntt.pod01.mv-mta-ucb023 with id 1cUy1x0052tKTyH01cUySC; Tue, 23 Jan 2018 00:28:58 +0000 Received: from mugwort.jp (p1247-ipngn8903marunouchi.tokyo.ocn.ne.jp [153.221.64.247]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 23 Jan 2018 09:28:58 +0900 (JST) 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 , Kentaro Watanabe , Naoki Takada Date: Tue, 23 Jan 2018 09:29:04 +0900 Message-Id: <20180123002907.28414-7-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180123002907.28414-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 16/28] doc: add explanation for terminating spp app X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 00:29:01 -0000 From: Hiroyuki Nakamura Add a chapter that describes procedures for terminating spp application. Signed-off-by: Kentaro Watanabe Signed-off-by: Naoki Takada --- 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