From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw1233.ocn.ad.jp (mogw1233.ocn.ad.jp [153.149.235.34]) by dpdk.org (Postfix) with ESMTP id A71751C6A6 for ; Tue, 15 May 2018 03:20:58 +0200 (CEST) Received: from mf-smf-ucb031c2 (mf-smf-ucb031c2.ocn.ad.jp [153.153.66.201]) by mogw1233.ocn.ad.jp (Postfix) with ESMTP id 3744F108023D; Tue, 15 May 2018 10:20:57 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb021 ([153.149.142.84]) by mf-smf-ucb031c2 with ESMTP id IOe1fc2XQNKjzIOe9fIRtw; Tue, 15 May 2018 10:20:57 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.167]) by ntt.pod01.mv-mta-ucb021 with id mRLx1x0023dLKTM01RLxMg; Tue, 15 May 2018 01:20:57 +0000 Received: from localhost.localdomain (p5164-ipngn8501marunouchi.tokyo.ocn.ne.jp [153.214.228.164]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 15 May 2018 10:20:57 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org Cc: Yasufumi Ogawa Date: Tue, 15 May 2018 10:20:49 +0900 Message-Id: <20180515012049.8785-3-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180515012049.8785-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180515012049.8785-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 2/2] controller: fix bug for patching PMDs 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, 15 May 2018 01:20:59 -0000 From: Yasufumi Ogawa It is for adding pcap and nullpmd to PORT_TYPES variable to avoid an 'not found' error for them and working not correctly. Signed-off-by: Yasufumi Ogawa --- src/controller/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/shell.py b/src/controller/shell.py index 137c42b..adcdb14 100644 --- a/src/controller/shell.py +++ b/src/controller/shell.py @@ -29,7 +29,7 @@ class Shell(cmd.Cmd, object): CMD_NOTREADY = "NOTREADY" CMD_ERROR = "ERROR" - PORT_TYPES = ['phy', 'ring', 'vhost'] + PORT_TYPES = ['phy', 'ring', 'vhost', 'pcap', 'nullpmd'] PRI_CMDS = ['status', 'exit', 'clear'] SEC_CMDS = ['status', 'exit', 'forward', 'stop', 'add', 'patch', 'del'] -- 2.17.0