When retrieving endpoints from keystone catalog, it's better to use
service_type rather than service_name because the name can be arbitrary
(some operator use custom names) while the service_type should always be
consistent.
Change-Id: I966f2d9f40b8306ba645363a4967139f44d6adde
Signed-off-by: Arnaud Morin <arnaud.morin@gmail.com>
When we decide whether the endpoint will add into profile, we will
both check whether the service has been set for openstack config
and the endpoint of this service exists.
Closes-Bug: #1979903
Change-Id: I0ad5558a0b6886d9af44c3e88eb43fc43f3cf58a