From a0952e727c157bf945a4d8be4b16a989cfc02a43 Mon Sep 17 00:00:00 2001 From: opensource-tnbt Date: Mon, 9 Nov 2020 14:49:06 +0530 Subject: VPP: Add Default paths for VPP. This modification supports the use of Userspace CNI plugin with VPP. Signed-off-by: Sridhar K. N. Rao Change-Id: I4b85d855f84686534b5167e182dacd1b01f5fb13 --- conf/02_vswitch.conf | 5 ++++- requirements.txt | 2 +- systems/README.md | 4 ++++ 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 -- cgit 1.2.3-korg /euphrates'>summaryrefslogtreecommitdiffstats
blob: fe641ad633e04d5d430ca7d354842159dd7237f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106