aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/constants.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-06-22 13:00:40 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-06-24 06:25:50 +0000
commitc04372b8630169a3fcc4b52e8d2b935f110519a6 (patch)
tree7848d9a53a60421ee3f659707fe350c03d4d0337 /yardstick/common/constants.py
parentcd5bb5f2dd2ec89e6c814c2771402aa8e39e10ef (diff)
Add API to upload pod.yaml file
JIRA: YARDSTICK-687 We need a API to upload a pod.yaml file to /etc/yardstick/pod.yaml. API: /yardstick/env/action method: POST param: { 'action': 'upload_pod_file', 'file': file object } Change-Id: I3d25df364da10aaf34f995e948e1704235a40f6f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'yardstick/common/constants.py')
-rw-r--r--yardstick/common/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py
index 4d65aff0c..47a519923 100644
--- a/yardstick/common/constants.py
+++ b/yardstick/common/constants.py
@@ -43,6 +43,7 @@ TESTSUITE_DIR = join(YARDSTICK_ROOT_PATH, 'tests/opnfv/test_suites/')
# file
OPENRC = get_param('file.openrc', '/etc/yardstick/openstack.creds')
CONF_FILE = join(CONF_DIR, 'yardstick.conf')
+POD_FILE = join(CONF_DIR, 'pod.yaml')
CONF_SAMPLE_FILE = join(CONF_SAMPLE_DIR, 'yardstick.conf.sample')
FETCH_SCRIPT = get_param('file.fetch_script', 'utils/fetch_os_creds.sh')
FETCH_SCRIPT = join(RELENG_DIR, FETCH_SCRIPT)