Fixed public endpoints settings, and requirements
Related-PROD: PROD-36943
Change-Id: I516e0503164c6deaf78af4a7e5182e624cfc3ba8
diff --git a/utils/__init__.py b/utils/__init__.py
index 155c03f..6d3f948 100644
--- a/utils/__init__.py
+++ b/utils/__init__.py
@@ -37,7 +37,10 @@
project_name=os.environ['OS_PROJECT_NAME'],
auth_url=os.environ['OS_AUTH_URL'],
cert=False,
- domain=os.environ['OS_PROJECT_DOMAIN_NAME']
+ domain=os.environ['OS_PROJECT_DOMAIN_NAME'],
+ endpoint_type=os.environ["OS_ENDPOINT_TYPE"],
+ interface=os.environ["OS_ENDPOINT_TYPE"],
+
)
os_actions = os_client.OSCliActions(openstack_clients)
nova_computes = os_actions.list_nova_computes()