From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bcmv-tmail01.ecl.ntt.co.jp (bcmv-tmail01.ecl.ntt.co.jp [124.146.185.148]) by dpdk.org (Postfix) with ESMTP id 5FFB71B43A for ; Thu, 31 Jan 2019 12:05:28 +0100 (CET) Received: from bcmv-ns01.ecl.ntt.co.jp (bcmv-ns01.ecl.ntt.co.jp [129.60.83.123]) by bcmv-tmail01.ecl.ntt.co.jp (8.14.4/8.14.4) with ESMTP id x0VB5QPU016444; Thu, 31 Jan 2019 20:05:26 +0900 Received: from bcmv-ns01.ecl.ntt.co.jp (localhost [127.0.0.1]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id 49FB4138; Thu, 31 Jan 2019 20:05:26 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id 33B6AC6; Thu, 31 Jan 2019 20:05:26 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Thu, 31 Jan 2019 20:03:18 +0900 Message-Id: <1548932598-21159-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 X-TM-AS-MML: disable Subject: [spp] [PATCH] controller: update help msg of pri command 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: Thu, 31 Jan 2019 11:05:29 -0000 From: Yasufumi Ogawa This patch is to add descriptions for `launch` command in primary. Signed-off-by: Yasufumi Ogawa --- src/controller/shell.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/controller/shell.py b/src/controller/shell.py index 1fb9867..40bafc2 100644 --- a/src/controller/shell.py +++ b/src/controller/shell.py @@ -311,10 +311,19 @@ class Shell(cmd.Cmd, object): def do_pri(self, command): """Send a command to primary process. - Spp primary takes sub commands. + Show resources and statistics, or clear it. - spp > pri;status - spp > pri;clear + spp > pri; status # show status + + spp > pri; clear # clear statistics + + Launch secondary process.. + + # Launch nfv:1 + spp > pri; launch nfv 1 -l 1,2 -m 512 -- -n 1 -s 192.168.... + + # Launch vf:2 + spp > pri; launch vf 2 -l 1,4-7 -m 512 -- --client-id 2 -s ... """ # Remove unwanted spaces and first char ';' -- 2.7.4