1 # Copyright 2015 Intel Corporation.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # ###########################
16 # Common setting potentially accessed by all components.
17 # ###########################
21 # ############################
23 # ############################
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')
30 # ############################
31 # Process configuration
32 # ############################
34 # shell command to use when running commands through Pexpect
35 SHELL_CMD = ['/bin/bash', '-c']
37 # ############################
38 # Logging configuration
39 # ############################
41 # default log output directory for all logs
44 # default log for all "small" executables
45 LOG_FILE_DEFAULT = 'overall.log'
47 # log file for all commands executed on host
48 LOG_FILE_HOST_CMDS = 'host-cmds.log'
50 # ############################
52 # ############################
54 # verbosity of output to 'stdout'
55 # NOTE: output to log files is always 'debug' level
58 # dictionary of test-specific parameters. These values are accessible
59 # from anywhere in the test framework so be careful with naming