diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2021-04-02 07:44:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-02 07:44:15 +0000 |
commit | 70d027470fc650115e69bfaca911e613de19de62 (patch) | |
tree | 11e06024c668ee769871ada50600f7f3df0fb7a2 /src/onaptests/steps | |
parent | b8037f19c416b3c66e735863cbb1143b75571236 (diff) | |
parent | c5f7f5e4d905171c1f0663bcb64ee050985a2d0b (diff) |
Merge "[CLAMP] Integrate basic_clamp"
Diffstat (limited to 'src/onaptests/steps')
-rw-r--r-- | src/onaptests/steps/loop/instantiate_loop.py | 6 |
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) |