* [spp] [PATCH] controller: add complete for exit in vf and mirror
@ 2019-01-15 3:29 ogawa.yasufumi
0 siblings, 0 replies; only message in thread
From: ogawa.yasufumi @ 2019-01-15 3:29 UTC (permalink / raw)
To: ferruh.yigit, spp, ogawa.yasufumi
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-15 3:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 3:29 [spp] [PATCH] controller: add complete for exit in vf and mirror ogawa.yasufumi
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).