[spp] [PATCH 4/4] cli: add completion for adding memif

Yasufumi Ogawa yasufum.o at gmail.com
Sun Jan 26 19:45:33 CET 2020


This update is to add `memif` to the list of port types for completion.

Signed-off-by: Yasufumi Ogawa <yasufum.o at gmail.com>
---
 src/cli/spp_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cli/spp_common.py b/src/cli/spp_common.py
index 947a2fa..a3108fa 100644
--- a/src/cli/spp_common.py
+++ b/src/cli/spp_common.py
@@ -6,7 +6,7 @@ import logging
 import os
 
 # Type definitions.
-PORT_TYPES = ['phy', 'ring', 'vhost', 'pcap', 'nullpmd']
+PORT_TYPES = ['phy', 'ring', 'vhost', 'pcap', 'memif', 'nullpmd']
 SEC_TYPES = ['nfv', 'vf', 'mirror', 'pcap']
 
 # Setup logger object
-- 
2.17.1



More information about the spp mailing list