Merge "argsAlreadyParsedError: arguments already parsed: cannot register CLI option"
[yardstick.git] / yardstick / common / constants.py
1 import os
2
3 DOCKER_URL = 'unix://var/run/docker.sock'
4
5 # database config
6 USER = 'root'
7 PASSWORD = 'root'
8 DATABASE = 'yardstick'
9
10 INFLUXDB_IMAGE = 'tutum/influxdb'
11 INFLUXDB_TAG = '0.13'
12
13 GRAFANA_IMAGE = 'grafana/grafana'
14 GRAFANA_TAGS = '3.1.1'
15
16 dirname = os.path.dirname
17 abspath = os.path.abspath
18 sep = os.path.sep
19
20 INSTALLERS = ['apex', 'compass', 'fuel', 'joid']
21
22 YARDSTICK_ROOT_PATH = dirname(dirname(dirname(abspath(__file__)))) + sep
23
24 YARDSTICK_REPOS_DIR = '/home/opnfv/repos/yardstick'
25
26 YARDSTICK_CONFIG_DIR = '/etc/yardstick/'
27
28 YARDSTICK_CONFIG_FILE = os.path.join(YARDSTICK_CONFIG_DIR, 'config.yaml')
29
30 RELENG_DIR = '/home/opnfv/repos/releng'
31
32 OS_FETCH_SCRIPT = 'utils/fetch_os_creds.sh'
33
34 LOAD_IMAGES_SCRIPT = 'tests/ci/load_images.sh'
35
36 OPENSTACK_RC_FILE = os.path.join(YARDSTICK_CONFIG_DIR, 'openstack.creds')
37
38 YARDSTICK_ENV_ACTION_API = 'http://localhost:5000/yardstick/env/action'