Merge "subprocess.call para stdout=PIPE is risky"
[yardstick.git] / api / conf.py
1 ##############################################################################
2 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from pyroute2 import IPDB
10
11
12 # configuration for influxdb
13 with IPDB() as ip:
14     GATEWAY_IP = ip.routes['default'].gateway
15 PORT = 8086
16
17 TEST_ACTION = ['runTestCase']
18
19 TEST_CASE_PATH = '../tests/opnfv/test_cases/'
20
21 SAMPLE_PATH = '../samples/'
22
23 TEST_CASE_PRE = 'opnfv_yardstick_'
24
25 TEST_SUITE_PATH = '../tests/opnfv/test_suites/'
26
27 OUTPUT_CONFIG_FILE_PATH = '/etc/yardstick/yardstick.conf'