This aligns quantum auth_token only authentication with the
way Horizon does it.
Tested by launching a stack with and without the --token-only flag
Also tested using Horizon, which is auth_token only
Part of blueprint auth-token-only
Change-Id: Ic6d471de527951415ef4858cbbff27cf60561924
args['password'] = con.password
args['tenant_name'] = con.tenant
elif con.auth_token is not None:
- args['username'] = con.service_user
- args['password'] = con.service_password
- args['tenant_name'] = con.service_tenant
args['token'] = con.auth_token
+ args['endpoint_url'] = self.url_for(service_type='network')
else:
logger.error("Quantum connection failed, "
"no password or auth_token!")