aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/resource/vpp
diff options
context:
space:
mode:
authorMarcel Enguehard <mengueha+fdio@cisco.com>2017-04-25 16:41:36 +0200
committerMarcel Enguehard <mengueha+fdio@cisco.com>2017-04-25 14:50:35 +0000
commit548479d60dafb24eddcec3762aa558f13581cdb2 (patch)
treee77ec37600bb0df9a7ee873d936957ce92308583 /vicn/resource/vpp
parenta42b1e0f2ef7ca75bfece00a0ea597b95fae88c1 (diff)
VPP fixes + refactored for libicnet + trailing spaces
Change-Id: Ib31d27c4d26eececa991327f2994cf60370b86d9 Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
Diffstat (limited to 'vicn/resource/vpp')
-rw-r--r--vicn/resource/vpp/vpp_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vicn/resource/vpp/vpp_commands.py b/vicn/resource/vpp/vpp_commands.py
index 8ee64bf6..63c74808 100644
--- a/vicn/resource/vpp/vpp_commands.py
+++ b/vicn/resource/vpp/vpp_commands.py
@@ -37,5 +37,5 @@ CMD_VPP_CICN_GET = "timeout 1 vppctl cicn show" #We timeout if vpp is not starte
CMD_VPP_ADD_ICN_ROUTE = 'vppctl cicn cfg fib add prefix {route.prefix} face {route.face.id}'
CMD_VPP_ADD_ICN_FACE = 'vppctl cicn cfg face add local {face.src_ip}:{face.src_port} remote {face.dst_ip}:{face.dst_port}'
-CMD_VPP_CICN_GET_CACHE_SIZE = 'vppctl cicn show | grep "CS entries" | grep -E "[0-9]+"'
+CMD_VPP_CICN_GET_CACHE_SIZE = 'vppctl cicn show | grep "CS entries" | grep -Eo "[0-9]+"'
CMD_VPP_CICN_SET_CACHE_SIZE = 'vppctl cicn control param cs size {self.cache_size}'