Have neutron-ha-tool use the internal neutron endpoint

Using the public endpoint for it's task just seems wrong.

Change-Id: I880d89445027a614eaf0626ab6b3dcece985d4e2
This commit is contained in:
Ralf Haferkamp 2014-03-26 12:40:15 +01:00
parent 1b204b6c75
commit 701a07e24f
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,8 @@ def run(args):
qclient = client.Client('2.0', auth_url=os.environ['OS_AUTH_URL'],
username=os.environ['OS_USERNAME'],
tenant_name=os.environ['OS_TENANT_NAME'],
password=os.environ['OS_PASSWORD'])
password=os.environ['OS_PASSWORD'],
endpoint_type='internalURL')
# set json return type
qclient.format = 'json'