aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/loop
diff options
context:
space:
mode:
authormorganrol <morgan.richomme@orange.com>2021-03-31 19:07:11 +0200
committermorganrol <morgan.richomme@orange.com>2021-03-31 19:23:15 +0200
commitc5f7f5e4d905171c1f0663bcb64ee050985a2d0b (patch)
treed48441654387a204abfce38da9fa094e70f58631 /src/onaptests/steps/loop
parenteffb276cbd7d61c6e5ee2d93eb2a7d6baa1d5baa (diff)
[CLAMP] Integrate basic_clamp
Some regressions occured and old files were used This patch update the different components with the right versions It also renames the vnf-service in basic_clamp-services.yaml It creates the entry point and the scenario to integrate the test in xtesting Issue-ID: INT-1819 Signed-off-by: morganrol <morgan.richomme@orange.com> Change-Id: I7a9e49d8ddc2c5bd0625a4a5ed940c10aed74f81
Diffstat (limited to 'src/onaptests/steps/loop')
-rw-r--r--src/onaptests/steps/loop/instantiate_loop.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/onaptests/steps/loop/instantiate_loop.py b/src/onaptests/steps/loop/instantiate_loop.py
index bd34a04..b6f4ffa 100644
--- a/src/onaptests/steps/loop/instantiate_loop.py
+++ b/src/onaptests/steps/loop/instantiate_loop.py
@@ -11,11 +11,10 @@ from onapsdk.configuration import settings
class InstantiateLoop():
"""class instantiating a closed loop in clamp."""
- def __init__(self, template: str, loop_name: str, operational_policies: list, cert: tuple):
+ def __init__(self, template: str, loop_name: str, operational_policies: list):
self.template=template
self.loop_name=loop_name
self.operational_policies=operational_policies
- self.cert=cert
self._logger: logging.Logger = logging.getLogger("")
logging.config.dictConfig(settings.LOG_CONFIG)
@@ -71,8 +70,7 @@ class InstantiateLoop():
"""Instantiate the control loop."""
loop = LoopInstance(template=self.template,
name=self.loop_name,
- details={},
- cert=self.cert)
+ details={})
details = loop.create()
if details:
self._logger.info("Loop instance %s successfully created !!", self.loop_name)