summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSridhar Rao <sridhar.rao@spirent.com>2020-11-25 06:42:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-11-25 06:42:10 +0000
commit2e27c085a31aecbe62948274b11a677392934847 (patch)
tree9913b083fc95d90d2d5966f8cb4ac24172813d3f
parentd3e04a4d7ce6cdbbc6375ee37264d1528a6ae622 (diff)
parenta0952e727c157bf945a4d8be4b16a989cfc02a43 (diff)
Merge "VPP: Add Default paths for VPP."
-rw-r--r--conf/02_vswitch.conf5
-rw-r--r--requirements.txt2
-rw-r--r--systems/README.md4
3 files changed, 9 insertions, 2 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
diff --git a/requirements.txt b/requirements.txt
index 03049fdb..afd63251 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16,7 +16,7 @@ pylint==1.8.2
pyzmq==14.5.0
distro
stcrestclient
-matplotlib==2.2.2
+matplotlib
numpy
pycrypto
tabulate
diff --git a/systems/README.md b/systems/README.md
index d72aae65..ca6557ea 100644
--- a/systems/README.md
+++ b/systems/README.md
@@ -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