It conforms with our VNFs by calling public endpoints (from VM).
It fixes by design the issues when testing Compass [1] due to
export OS_INTERFACE=publicURL
[1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/180/consoleFull
Change-Id: Iea15506ba5910879d05e61cfd20da2c0878e569b
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
keystone_id = self.orig_cloud.search_services('keystone')[0].id
self.__logger.debug("keystone id: %s", keystone_id)
endpoint = self.orig_cloud.search_endpoints(
- filters={'interface': os.environ.get('OS_INTERFACE', 'public'),
+ filters={'interface': 'public',
'service_id': keystone_id})[0].url
self.__logger.debug("keystone endpoint: %s", endpoint)
self.orig_cloud.grant_role(