From 0e23c697e6329a57ba168cc57886b436ea87cdc4 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Thu, 17 Nov 2016 08:01:14 +0000 Subject: Create API to run test cases JIRA: YARDSTICK-413 Change-Id: Ibf58b50b568fae3f2eea985b25ee33be0a3666b7 Signed-off-by: chenjiankun --- api/conf.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 api/conf.py (limited to 'api/conf.py') diff --git a/api/conf.py b/api/conf.py new file mode 100644 index 000000000..b5553f452 --- /dev/null +++ b/api/conf.py @@ -0,0 +1,17 @@ +from pyroute2 import IPDB + + +# configuration for influxdb +with IPDB() as ip: + GATEWAY_IP = ip.routes['default'].gateway +PORT = 8086 + +TEST_ACTION = ['runTestCase'] + +TEST_CASE_PATH = '../tests/opnfv/test_cases/' + +TEST_CASE_PRE = 'opnfv_yardstick_' + +TEST_SUITE_PATH = '../tests/opnfv/test_suites/' + +OUTPUT_CONFIG_FILE_PATH = '/etc/yardstick/yardstick.conf' -- cgit 1.2.3-korg