Add endpoint opt into auth_plugin

Endpoint should be present in auth_plugin options to allow
connect to ceilometer through specified endpoint and token

Closes-Bug: #1354507
Change-Id: I0aaafc6f599a67b242ade25efb3e667738bd71fd
This commit is contained in:
Eugeniya Kudryashova
2014-08-08 18:21:42 +03:00
parent 47934c777c
commit 2ddcff4ee2

View File

@@ -146,7 +146,7 @@ class AuthPlugin(auth.BaseAuthPlugin):
'auth_url', 'insecure', 'cert_file', 'key_file',
'cert', 'key', 'tenant_name', 'project_name',
'project_id', 'user_domain_id', 'user_domain_name',
'password', 'username']
'password', 'username', 'endpoint']
def __init__(self, auth_system=None, **kwargs):
self.opt_names.extend(self.common_opt_names)