diff options
author | Moshe <moshehoa@amdocs.com> | 2018-03-11 16:18:20 +0200 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-03-11 16:18:38 +0200 |
commit | e01f70617a2f22b71cfce912b72a1dbb77f3f969 (patch) | |
tree | 3970cadfaba013fbc0f27ec42006a1744abdc88f /vnftest/onap/core | |
parent | 976c2a916ea810effc34c5838b80b83bc9f8e6e0 (diff) |
add checkin+submit vlm steps to test case
Issue-ID: VNFSDK-195
Change-Id: I92dbf0c3abfbde2d6667588289c7a4ca2ccb4726
Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/onap/core')
-rw-r--r-- | vnftest/onap/core/task.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnftest/onap/core/task.py b/vnftest/onap/core/task.py index 8e34665..32d61f5 100644 --- a/vnftest/onap/core/task.py +++ b/vnftest/onap/core/task.py @@ -22,6 +22,7 @@ import sys import os from collections import OrderedDict +import copy import yaml import atexit import ipaddress @@ -338,7 +339,9 @@ class Task(object): # pragma: no cover runner = base_runner.Runner.get(runner_cfg) LOG.info("Starting runner of type '%s'", runner_cfg["type"]) - runner.run(step_cfg, self.context) + # Previous steps output is the input of the next step. + input_params = copy.deepcopy(self.outputs) + runner.run(step_cfg, self.context, input_params) return runner |