aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/instantiate
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-10-07 09:02:51 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-07 09:02:51 +0000
commitd1d44781c7d03c8794dd626184f77d9836264212 (patch)
treec4fd34da2631a3a775612946841bd7149b664f8c /src/onaptests/steps/instantiate
parent9cd3c4fef7b7e980321486bfd1a86366a2221a16 (diff)
parent84a44a0cf70e2e55a13e4e994836ee074b7039aa (diff)
Merge "Collect steps execution result"
Diffstat (limited to 'src/onaptests/steps/instantiate')
-rw-r--r--src/onaptests/steps/instantiate/service_ala_carte.py2
-rw-r--r--src/onaptests/steps/instantiate/vf_module_ala_carte.py1
-rw-r--r--src/onaptests/steps/instantiate/vnf_ala_carte.py1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/onaptests/steps/instantiate/service_ala_carte.py b/src/onaptests/steps/instantiate/service_ala_carte.py
index eb98f19..b3b56c4 100644
--- a/src/onaptests/steps/instantiate/service_ala_carte.py
+++ b/src/onaptests/steps/instantiate/service_ala_carte.py
@@ -30,6 +30,7 @@ class ServiceAlaCarteInstantiateStep(BaseStep):
self.add_step(ServiceOnboardStep(cleanup))
self.add_step(ConnectServiceSubToCloudRegionStep(cleanup))
+ @BaseStep.store_state
def execute(self):
"""Instantiate service.
@@ -138,6 +139,7 @@ class YamlTemplateServiceAlaCarteInstantiateStep(YamlTemplateBaseStep):
return self._service_instance_name
return self.parent.service_instance_name
+ @YamlTemplateBaseStep.store_state
def execute(self):
"""Instantiate service.
diff --git a/src/onaptests/steps/instantiate/vf_module_ala_carte.py b/src/onaptests/steps/instantiate/vf_module_ala_carte.py
index 3a22159..14ef2d8 100644
--- a/src/onaptests/steps/instantiate/vf_module_ala_carte.py
+++ b/src/onaptests/steps/instantiate/vf_module_ala_carte.py
@@ -96,6 +96,7 @@ class YamlTemplateVfModuleAlaCarteInstantiateStep(YamlTemplateBaseStep):
value=vnf_parameter["value"]
)
+ @YamlTemplateBaseStep.store_state
def execute(self) -> None:
"""Instantiate Vf module.
diff --git a/src/onaptests/steps/instantiate/vnf_ala_carte.py b/src/onaptests/steps/instantiate/vnf_ala_carte.py
index f52857d..0ab498d 100644
--- a/src/onaptests/steps/instantiate/vnf_ala_carte.py
+++ b/src/onaptests/steps/instantiate/vnf_ala_carte.py
@@ -75,6 +75,7 @@ class YamlTemplateVnfAlaCarteInstantiateStep(YamlTemplateBaseStep):
return self._service_instance_name
return self.parent.service_instance_name
+ @YamlTemplateBaseStep.store_state
def execute(self):
"""Instantiate vnf.