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 1B516235 for ; Tue, 15 Jan 2019 04:31:34 +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 x0F3VXED017637; Tue, 15 Jan 2019 12:31:33 +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 D232613F; Tue, 15 Jan 2019 12:31:33 +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 BC563D6; Tue, 15 Jan 2019 12:31:33 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 15 Jan 2019 12:29:21 +0900 Message-Id: <1547522961-10346-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: add complete for exit in vf and mirror 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 Jan 2019 03:31:35 -0000 From: Yasufumi Ogawa Exit command is support in spp_vf and spp_mirror, but not for completion in vf and mirror commands. This update is to add completion for them. Signed-off-by: Yasufumi Ogawa --- src/controller/commands/mirror.py | 1 + src/controller/commands/vf.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/controller/commands/mirror.py b/src/controller/commands/mirror.py index a01e1eb..b5b7a1b 100644 --- a/src/controller/commands/mirror.py +++ b/src/controller/commands/mirror.py @@ -15,6 +15,7 @@ class SppMirror(object): # All of commands and sub-commands used for validation and completion. MIRROR_CMDS = { 'status': None, + 'exit': None, 'component': ['start', 'stop'], 'port': ['add', 'del']} diff --git a/src/controller/commands/vf.py b/src/controller/commands/vf.py index 01795a5..e715a17 100644 --- a/src/controller/commands/vf.py +++ b/src/controller/commands/vf.py @@ -15,6 +15,7 @@ class SppVf(object): # All of commands and sub-commands used for validation and completion. VF_CMDS = { 'status': None, + 'exit': None, 'component': ['start', 'stop'], 'port': ['add', 'del'], 'classifier_table': ['add', 'del']} -- 2.17.1