blob: 6993c41b9ccf57b1fa3a40a0f5b37dfdd73dfb8e (
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
|
import os
DOCKER_URL = 'unix://var/run/docker.sock'
# database config
USER = 'root'
PASSWORD = 'root'
DATABASE = 'yardstick'
INFLUXDB_IMAGE = 'tutum/influxdb'
INFLUXDB_TAG = '0.13'
GRAFANA_IMAGE = 'grafana/grafana'
GRAFANA_TAGS = '3.1.1'
dirname = os.path.dirname
abspath = os.path.abspath
sep = os.path.sep
INSTALLERS = ['apex', 'compass', 'fuel', 'joid']
YARDSTICK_ROOT_PATH = dirname(dirname(dirname(abspath(__file__)))) + sep
YARDSTICK_REPOS_DIR = '/home/opnfv/repos/yardstick'
YARDSTICK_CONFIG_DIR = '/etc/yardstick/'
YARDSTICK_CONFIG_FILE = os.path.join(YARDSTICK_CONFIG_DIR, 'yardstick.conf')
RELENG_DIR = '/home/opnfv/repos/releng'
OS_FETCH_SCRIPT = 'utils/fetch_os_creds.sh'
CLEAN_IMAGES_SCRIPT = 'tests/ci/clean_images.sh'
LOAD_IMAGES_SCRIPT = 'tests/ci/load_images.sh'
OPENSTACK_RC_FILE = os.path.join(YARDSTICK_CONFIG_DIR, 'openstack.creds')
YARDSTICK_ENV_ACTION_API = 'http://localhost:5000/yardstick/env/action'
|