import sys
from yaml import load
-from pathlib import Path
-
from .settings import * # pylint: disable=W0614
""" Specific Basic clamp settings."""
}
]
-CERT = (Path.cwd() / 'cert.pem', Path.cwd() / 'cert.key')
# SERVICE_NAME = "ubuntu18agent"
# if a yaml file is define, retrieve info from this yaml files
super().__init__(cleanup=cleanup)
self._yaml_template: dict = None
self.add_step(OnboardClampStep(cleanup=cleanup))
- Clamp(cert=settings.CERT)
+ Clamp()
self.loop_instance = None
@property
"""Instantite a closed loopin CLAMP."""
loop = InstantiateLoop(template=loop_template,
loop_name=loop_name,
- operational_policies=operational_policies,
- cert=settings.CERT)
+ operational_policies=operational_policies)
return loop.instantiate_loop()
def loop_counter(self, action: str) -> None: