aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authoropensource-tnbt <sridhar.rao@spirent.com>2020-11-09 14:49:06 +0530
committeropensource-tnbt <sridhar.rao@spirent.com>2020-11-09 14:51:05 +0530
commita0952e727c157bf945a4d8be4b16a989cfc02a43 (patch)
tree1432e5c24dbb3bd285a4d74f869dd0e54e79b969 /conf
parent605102bb6a8a3b48f0c66d817614eec0ef42e017 (diff)
VPP: Add Default paths for VPP.
This modification supports the use of Userspace CNI plugin with VPP. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I4b85d855f84686534b5167e182dacd1b01f5fb13
Diffstat (limited to 'conf')
-rw-r--r--conf/02_vswitch.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf
index 283da278..4eca1a52 100644
--- a/conf/02_vswitch.conf
+++ b/conf/02_vswitch.conf
@@ -224,7 +224,7 @@ OVS_ROUTING_TABLES = False
#########################
# Set of arguments used for startup of VPP
# NOTE: DPDK socket mem allocation is driven by parameter DPDK_SOCKET_MEM
-VSWITCH_VPP_CLI_SOCK = ''
+VSWITCH_VPP_CLI_SOCK = '/run/vpp/cli.sock'
VSWITCH_VPP_ARGS = {
'unix' : [
'interactive', # required by VSPERF to detect successful VPP startup
@@ -236,6 +236,9 @@ VSWITCH_VPP_ARGS = {
'workers 2',
'corelist-workers 4,5',
],
+ 'socksvr' : [
+ 'socket-name /run/vpp-api.sock',
+ ],
}
# log file for VPP