nova: Use endpoint_override instead of deprecated bypass_url

novaclient deprecated 'bypass_url' argument in Ocata and
the use of 'endpoint_override' is recommended.

Change-Id: I88bb974fa11452d1262779b75444ba6d7ad44ebb
This commit is contained in:
Akihiro Motoki 2017-05-03 16:51:23 +00:00
parent a799fd8721
commit ed45d4b11f
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ def novaclient(request_auth_params, version=None):
cacert=CACERT,
http_log_debug=settings.DEBUG,
auth_token=token_id,
bypass_url=nova_url)
endpoint_override=nova_url)
return c