From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH] controller: add complete for exit in vf and mirror
Date: Tue, 15 Jan 2019 12:29:21 +0900 [thread overview]
Message-ID: <1547522961-10346-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
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 <ogawa.yasufumi@lab.ntt.co.jp>
---
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
reply other threads:[~2019-01-15 3:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1547522961-10346-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).