diff options
author | boucherv <valentin.boucher@orange.com> | 2016-01-28 16:30:47 +0100 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2016-01-29 11:22:03 +0100 |
commit | 9ec86196a8e96fea966beef08c01b9c9822a9bc4 (patch) | |
tree | e4b46d4e8c851d6716ae4ecf7c4ac75d106b0e99 /testcases/vIMS/CI/clearwater.py | |
parent | 2e8ecc1b2b2e16a3dc8d9bf1689dfcbb96c3e391 (diff) |
Add some error result in result db api
Change-Id: I1c5f9bc51c04e321ace8c0ee0312be28d321910f
Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'testcases/vIMS/CI/clearwater.py')
-rw-r--r-- | testcases/vIMS/CI/clearwater.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/clearwater.py b/testcases/vIMS/CI/clearwater.py index d2d189f60..364de68f4 100644 --- a/testcases/vIMS/CI/clearwater.py +++ b/testcases/vIMS/CI/clearwater.py @@ -43,9 +43,13 @@ class clearwater: def deploy_vnf(self, blueprint, bp_name='clearwater', dep_name='clearwater-opnfv'): if self.orchestrator: self.dep_name = dep_name - self.orchestrator.download_upload_and_deploy_blueprint( + error = self.orchestrator.download_upload_and_deploy_blueprint( blueprint, self.config, bp_name, dep_name) + if error: + return error + self.deploy = True + else: if self.logger: logger.error("Cloudify manager is down or not provide...") |