From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id B36DB3772 for ; Tue, 16 Jan 2018 06:16:44 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id w0G5Ghae007977 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5Ggae025489 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25484; Tue, 16 Jan 2018 14:16:42 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5GgBj009192 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Received: from mgate02.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5GgWX009180 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Message-Id: <201801160516.w0G5GgWX009180@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5Gfx2026680 ; Tue, 16 Jan 2018 14:16:42 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:29 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> References: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> X-TM-AS-MML: No Subject: [spp] [PATCH 18/30] 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, 16 Jan 2018 05:16:45 -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 ``` -- 1.9.1