testcase: scalability testcase enhancements
[vswitchperf.git] / conf / 00_common.conf
1 # Copyright 2015 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # ###########################
16 # Common setting potentially accessed by all components.
17 # ###########################
18
19 import os
20
21 # ############################
22 # Directories
23 # ############################
24
25 ROOT_DIR = os.path.normpath(os.path.join(
26     os.path.dirname(os.path.realpath(__file__)), '../'))
27 TRAFFICGEN_DIR = os.path.join(ROOT_DIR, 'tools/pkt_gen')
28 SYSMETRICS_DIR = os.path.join(ROOT_DIR, 'tools/collectors')
29
30 # deployment specific paths to OVS and DPDK
31 OVS_DIR_VANILLA  = os.path.join(ROOT_DIR, 'src_vanilla/ovs/ovs/')
32
33 RTE_SDK_CUSE  = os.path.join(ROOT_DIR, 'src_cuse/dpdk/dpdk/')
34 OVS_DIR_CUSE  = os.path.join(ROOT_DIR, 'src_cuse/ovs/ovs/')
35
36 RTE_SDK_USER  = os.path.join(ROOT_DIR, 'src/dpdk/dpdk/')
37 OVS_DIR_USER  = os.path.join(ROOT_DIR, 'src/ovs/ovs/')
38
39 # the same qemu version is used for vanilla, vHost User and Cuse
40 QEMU_DIR = os.path.join(ROOT_DIR, 'src/qemu/qemu/')
41
42 # ############################
43 # Process configuration
44 # ############################
45
46 # shell command to use when running commands through Pexpect
47 SHELL_CMD = ['/bin/bash', '-c']
48
49 # ############################
50 # Logging configuration
51 # ############################
52
53 # default log output directory for all logs
54 LOG_DIR = '/tmp'
55
56 # default log for all "small" executables
57 LOG_FILE_DEFAULT = 'overall.log'
58
59 # log file for all commands executed on host
60 LOG_FILE_HOST_CMDS = 'host-cmds.log'
61
62 # ############################
63 # Test configuration
64 # ############################
65
66 # verbosity of output to 'stdout'
67 # NOTE: output to log files is always 'debug' level
68 VERBOSITY = 'debug'
69
70 # dictionary of test-specific parameters. These values are accessible
71 # from anywhere in the test framework so be careful with naming
72 # conventions
73 TEST_PARAMS = {}
74
75 # ############################
76 # Modules
77 # ############################
78
79 # following modules will be excluded from automatic load by LoaderServant
80 # it can be used to suppress automatic load of obsoleted or abstract modules
81 # Example:
82 #   EXCLUDE_MODULES = ['ovs_vanilla', 'qemu_virtio_net', 'pidstat']
83 EXCLUDE_MODULES = ["testcenter-rfc2544-throughput"]