[spp] [PATCH] cli: rename classifier_mac to classifier

Yasufumi Ogawa yasufum.o at gmail.com
Mon Aug 5 09:06:07 CEST 2019


As renamed classifier_mac in spp_vf, this update is to rename it in SPP
CLI.

Signed-off-by: Yasufumi Ogawa <yasufum.o at gmail.com>
---
 src/cli/commands/vf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cli/commands/vf.py b/src/cli/commands/vf.py
index c6192e0..5b361d1 100644
--- a/src/cli/commands/vf.py
+++ b/src/cli/commands/vf.py
@@ -20,7 +20,7 @@ class SppVf(object):
             'port': ['add', 'del'],
             'classifier_table': ['add', 'del']}
 
-    WORKER_TYPES = ['forward', 'merge', 'classifier_mac']
+    WORKER_TYPES = ['forward', 'merge', 'classifier']
 
     def __init__(self, spp_ctl_cli, sec_id, use_cache=False):
         self.spp_ctl_cli = spp_ctl_cli
@@ -526,7 +526,7 @@ class SppVf(object):
         # (2) launch or terminate a worker thread with arbitrary name
         #   NAME: arbitrary name used as identifier
         #   CORE_ID: one of unused cores referred from status
-        #   ROLE: role of workers, 'forward', 'merge' or 'classifier_mac'
+        #   ROLE: role of workers, 'forward', 'merge' or 'classifier'
         spp > vf 1; component start NAME CORE_ID ROLE
         spp > vf 1; component stop NAME CORE_ID ROLE
 
-- 
2.17.1



More information about the spp mailing list