From 221f4482bab3361cdb69161147e4d32d098d9a43 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Sat, 1 Apr 2017 01:19:16 +0000 Subject: Yardstick virtualenv support JIRA: YARDSTICK-620 Currently we recommend using docker to run yardstick. And it is hard to use virtualenv to install yardstick. So I modify install.sh in yardstick root path. It will support using virtualenv to install yardstick(including API) in linux. In this patch, I make yardstick support read yardstick configuration have priority over constants. Change-Id: I9ea1241b228532a6497451e6c8f232173ddb783e Signed-off-by: chenjiankun (cherry picked from commit b74d875134b988a26441d559a9e700aaa68d6a0c) --- etc/yardstick/yardstick.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 etc/yardstick/yardstick.yaml (limited to 'etc') diff --git a/etc/yardstick/yardstick.yaml b/etc/yardstick/yardstick.yaml new file mode 100644 index 000000000..5b39fa08b --- /dev/null +++ b/etc/yardstick/yardstick.yaml @@ -0,0 +1,33 @@ +dir: + conf: /etc/yardstick + repos: /home/opnfv/repos/yardstick + releng: /home/opnfv/repos/releng + log: /tmp/yardstick + +file: + openrc: /etc/yardstick/openstack.creds + fetch_script: utils/fetch_os_creds.sh + clean_image_script: tests/ci/clean_images.sh + load_image_script: tests/ci/load_images.sh + output_file: /tmp/yardstick.out + html_file: /tmp/yardstick.htm + +influxdb: + ip: 172.17.0.1 + port: 8086 + username: root + password: root + db_name: yardstick + image: tutum/influxdb + tag: 0.13 + +grafana: + ip: 172.17.0.1 + port: 3000 + username: admin + password: admin + image: grafana/grafana + tag: 3.1.1 + +api: + server_ip: 172.17.0.1 -- cgit 1.2.3-korg