Using internalURL to communicate with Openstack services

Change-Id: I734f91c9299a48ec3c6738d00dafb0fd322d817b
This commit is contained in:
Anand Shanmugam 2016-08-11 15:10:02 -07:00
parent 3e21b22f49
commit 31781b60aa
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class endpoint_scenario(base.Scenario):
creds['password'] = cfg.CONF.keystone_authtoken.password
creds['auth_url'] = cfg.CONF.keystone_authtoken.auth_uri
creds['cacert'] = cfg.CONF.keystone_authtoken.cafile
creds['endpoint_type'] = 'internalURL'
return creds
def _get_nova_v2_credentials(self):
@ -72,6 +73,7 @@ class endpoint_scenario(base.Scenario):
creds['auth_url'] = cfg.CONF.keystone_authtoken.auth_uri
creds['version'] = 2
creds['cacert'] = cfg.CONF.keystone_authtoken.cafile
creds['endpoint_type'] = 'internalURL'
return creds
@base.scenario(admin_only=False, operator=False)

View File

@ -86,6 +86,7 @@ class operator_scenario(base.Scenario):
creds['auth_url'] = cfg.CONF.keystone_authtoken.auth_uri
creds['version'] = 2
creds['cacert'] = cfg.CONF.keystone_authtoken.cafile
creds['endpoint_type'] = 'internalURL'
nova = NovaHealth(creds)
return nova.nova_hypervisor_list()