Set work directory in Yardstick container
[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 __future__ import absolute_import
10 from pyroute2 import IPDB
11
12
13 # configuration for influxdb
14 with IPDB() as ip:
15     GATEWAY_IP = ip.routes['default'].gateway
16 PORT = 8086
17
18 TEST_CASE_PATH = '../tests/opnfv/test_cases/'
19
20 SAMPLE_PATH = '../samples/'
21
22 TEST_CASE_PRE = 'opnfv_yardstick_'
23
24 TEST_SUITE_PATH = '../tests/opnfv/test_suites/'
25
26 TEST_SUITE_PRE = 'opnfv_'
27
28 OUTPUT_CONFIG_FILE_PATH = '/etc/yardstick/yardstick.conf'