VPP: Add Default paths for VPP. 47/71347/1
authoropensource-tnbt <sridhar.rao@spirent.com>
Mon, 9 Nov 2020 09:19:06 +0000 (14:49 +0530)
committeropensource-tnbt <sridhar.rao@spirent.com>
Mon, 9 Nov 2020 09:21:05 +0000 (14:51 +0530)
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

conf/02_vswitch.conf
requirements.txt
systems/README.md

index 283da27..4eca1a5 100644 (file)
@@ -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
index 03049fd..afd6325 100644 (file)
@@ -16,7 +16,7 @@ pylint==1.8.2
 pyzmq==14.5.0
 distro
 stcrestclient
-matplotlib==2.2.2
+matplotlib
 numpy
 pycrypto
 tabulate
index d72aae6..ca6557e 100644 (file)
@@ -12,3 +12,7 @@ On a freshly built system, run the following with a super user privilege
 or with password less sudo access.
 
 ./build_base_machine.sh
+
+If you want to use vsperf in trafficgen-mode ONLY, then add a parameter.
+
+./build_base_machine.sh trafficgen