summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/dpi/README
blob: f11007574f0103cba02dd1e24dca9bfe1ed60f1e (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
##
## Copyright (c) 2010-2017 Intel Corporation
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
##     http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##

The scripts in this directory characterize flow a DPI-enabled VNF. The
characeterization is split up into two steps. The first step (dpi1.py)
searches for the traffic profile parameter boundaries. The second step
(dpi2.py) takes as input the output of the first step and searches for
the maximum sustainable throughput of a DPI-enabled VNF.

To run the first script, use:

   python2.7 ./dpi1.py -t TEST_SYSTEM_DESCRIPTIONS -o OUTPUT1

TEST_SYSTEM_DESCRIPTIONS is a comma-separated list of systems where
the syntax of defining each system is shown below:

   user@ip:proxDir:cfgDir

To run the second script, use:

   python2.7 ./dpi2.py -t TEST_SYSTEM_DESCRIPTIONS \
   	     -s SYSTEM_UNDER_TEST_DESCRIPTIONS \
	     -o OUTPUT2 -d \
	     -i OUTPUT1

Finally, the results can be processed using the following command:

   python2.7 ./maketable.py -i OUTPUT1 -j OUTPUT2 -o FINAL_TABLE