_get_deployment_environment_creation_execution(
cfy_client, descriptor.get('name')),
self.__logger,
- timeout=600)
+ timeout=300)
self.__logger.info("Start the VNF Instance deployment")
execution = cfy_client.executions.start(descriptor.get('name'),
return value
-def wait_for_execution(client, execution, logger, timeout=2400, ):
+def wait_for_execution(client, execution, logger, timeout=1500, ):
"""Wait for a workflow execution on Cloudify Manager."""
# if execution already ended - return without waiting
if execution.status in Execution.END_STATES:
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
- while timeout < 45:
+ while timeout < 20:
if servertest(
self.mano['details']['fip'].ip,
"8080"):
time.sleep(60)
timeout += 1
- if timeout >= 45:
+ if timeout >= 20:
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)
self.logger.info("Waiting for Open Baton NFVO to be up and running...")
timeout = 0
- while timeout < 45:
+ while timeout < 20:
if servertest(
self.mano['details']['fip'].ip,
"8080"):
time.sleep(60)
timeout += 1
- if timeout >= 45:
+ if timeout >= 20:
duration = time.time() - start_time
self.details["orchestrator"].update(
status='FAIL', duration=duration)