Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def init(self, conf, force_deploy=False):
logging.info("Chameleon baremetal provider")
enoslib_conf = self.build_config(conf)
_conf = Configuration.from_dictionnary(enoslib_conf)
ecb = Ecb(_conf)
roles, networks = ecb.init(force_deploy=force_deploy)
return roles, networks