summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-02-28 16:01:55 +0800
committerYifei Xue <xueyifei@huawei.com>2018-03-16 11:48:09 +0800
commit5f5736d76e79bd3dccc2db1285ca9a6e8d1021bd (patch)
tree0ad342ac336d66a4d0ca9e702f6661b58216cf48
parent41135da626fe2c2813e58f52928b4e5ba4e47bf7 (diff)
Add support for Compass installer
JIRA: SFC-122 Add support for Compass installer in SFC repo which will make Compass SFC scenarios be verified by SFC testcase daily. Change-Id: I8129ebe837d54cdcd163158990fccf40451b98ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
-rw-r--r--sfc/tests/functest/config.yaml3
-rw-r--r--sfc/tests/functest/run_sfc_tests.py2
-rw-r--r--sfc/tests/functest/sfc_chain_deletion.py2
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions.py2
-rw-r--r--sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py2
5 files changed, 7 insertions, 4 deletions
diff --git a/sfc/tests/functest/config.yaml b/sfc/tests/functest/config.yaml
index 5bbba65f..3cd1883a 100644
--- a/sfc/tests/functest/config.yaml
+++ b/sfc/tests/functest/config.yaml
@@ -17,6 +17,9 @@ defaults:
osa:
user: root
pkey_file: "/root/.ssh/id_rsa"
+ compass:
+ user: root
+ pkey_file: "/root/.ssh/id_rsa"
image_format: qcow2
image_url: "http://artifacts.opnfv.org/sfc/images/sfc_nsh_fraser.qcow2"
vnfd-dir: "vnfd-templates"
diff --git a/sfc/tests/functest/run_sfc_tests.py b/sfc/tests/functest/run_sfc_tests.py
index e818e10b..2767c870 100644
--- a/sfc/tests/functest/run_sfc_tests.py
+++ b/sfc/tests/functest/run_sfc_tests.py
@@ -104,7 +104,7 @@ class SfcFunctest(testcase.TestCase):
self.__disable_heat_resource_finder_cache_apex(controllers)
elif installer_type == "fuel":
self.__disable_heat_resource_finder_cache_fuel(controllers)
- elif installer_type == "osa":
+ elif installer_type == "osa" or "compass":
pass
else:
raise Exception('Unsupported installer')
diff --git a/sfc/tests/functest/sfc_chain_deletion.py b/sfc/tests/functest/sfc_chain_deletion.py
index 3962a3a6..51c47c42 100644
--- a/sfc/tests/functest/sfc_chain_deletion.py
+++ b/sfc/tests/functest/sfc_chain_deletion.py
@@ -42,7 +42,7 @@ def main():
installer_type = os.environ.get("INSTALLER_TYPE")
- supported_installers = ['fuel', 'apex', 'osa']
+ supported_installers = ['fuel', 'apex', 'osa', 'compass']
if installer_type not in supported_installers:
logger.error(
diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
index 411262d1..11b67691 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
@@ -43,7 +43,7 @@ def main():
installer_type = os.environ.get("INSTALLER_TYPE")
- supported_installers = ['fuel', 'apex', 'osa']
+ supported_installers = ['fuel', 'apex', 'osa', 'compass']
if installer_type not in supported_installers:
logger.error(
diff --git a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
index 4e63ecfd..9b7d011a 100644
--- a/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
+++ b/sfc/tests/functest/sfc_two_chains_SSH_and_HTTP.py
@@ -42,7 +42,7 @@ def main():
installer_type = os.environ.get("INSTALLER_TYPE")
- supported_installers = ['fuel', 'apex', 'osa']
+ supported_installers = ['fuel', 'apex', 'osa', 'compass']
if installer_type not in supported_installers:
logger.error(