summaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-10-09 13:53:25 +0200
committerCedric Ollivier <cedric.ollivier@orange.com>2017-10-10 13:24:02 +0000
commitb523d5d7e64f6c6134363f21a158bb893fc18e3b (patch)
tree98c4595132e80a17bd2f248946e78b65e0acc05f /functest
parentf39a901913177ff7d764714357a07ef5b8c1c9fe (diff)
Complete framework documentation part for VNF
Change-Id: I4c59adfe1cfec278e0b267cc7a05e8addd45d034 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit ee2eb17dbe52418f6bdc6201f78b9f1e8858fdcc)
Diffstat (limited to 'functest')
-rw-r--r--functest/core/vnf.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/functest/core/vnf.py b/functest/core/vnf.py
index 517838a76..507e27651 100644
--- a/functest/core/vnf.py
+++ b/functest/core/vnf.py
@@ -55,16 +55,16 @@ class VnfOnBoarding(base.TestCase):
"""
Run of the VNF test case:
- * Deploy an orchestrator if needed (e.g. heat, cloudify, ONAP),
+ * Deploy an orchestrator if needed (e.g. heat, cloudify, ONAP,...),
* Deploy the VNF,
* Perform tests on the VNF
A VNF test case is successfull when the 3 steps are PASS
If one of the step is FAIL, the test case is FAIL
- Returns:
- TestCase.EX_OK if result is 'PASS'.
- TestCase.EX_TESTCASE_FAILED otherwise.
+ Returns:
+ TestCase.EX_OK if result is 'PASS'.
+ TestCase.EX_TESTCASE_FAILED otherwise.
"""
self.start_time = time.time()
@@ -137,9 +137,8 @@ class VnfOnBoarding(base.TestCase):
"""
Deploy an orchestrator (optional).
- If function overwritten
- raise orchestratorDeploymentException if error during orchestrator
- deployment
+ If this method is overriden then raise orchestratorDeploymentException
+ if error during orchestrator deployment
"""
self.__logger.info("Deploy orchestrator (if necessary)")
return True
@@ -152,10 +151,8 @@ class VnfOnBoarding(base.TestCase):
The details section MAY be updated in the vnf test cases.
The deployment can be executed via a specific orchestrator
- or using nuild-in orchestrators such as:
-
- * heat, openbaton, cloudify (available on all scenario),
- * open-o (on open-o scenarios)
+ or using build-in orchestrators such as heat, OpenBaton, cloudify,
+ juju, onap, ...
Returns:
True if the VNF is properly deployed