# Retrieve the configuration
try:
- self.config = CONST.__getattribute__(
- 'vnf_{}_config'.format(self.case_name))
+ self.config = getattr(
+ CONST, 'vnf_{}_config'.format(self.case_name))
except Exception:
raise Exception("VNF config file not found")
public_auth_url = keystone_utils.get_endpoint(
self.snaps_creds, 'identity')
- self.__logger.info("Set creds for cloudify manager")
cfy_creds = dict(
keystone_username=self.snaps_creds.username,
keystone_password=self.snaps_creds.password,
keystone_tenant_name=self.snaps_creds.project_name,
- keystone_url=public_auth_url)
+ keystone_url=public_auth_url,
+ region=self.snaps_creds.region_name)
+ self.__logger.info("Set creds for cloudify manager %s", cfy_creds)
cfy_client = CloudifyClient(
host=manager_creator.get_floating_ip().ip,