[spp] [PATCH 2/2] controller: fix bug for patching PMDs
ogawa.yasufumi at lab.ntt.co.jp
ogawa.yasufumi at lab.ntt.co.jp
Tue May 15 03:20:49 CEST 2018
From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
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 <ogawa.yasufumi at lab.ntt.co.jp>
---
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
More information about the spp
mailing list