Skip to content

Commit

Permalink
Add Region name to quantum client
Browse files Browse the repository at this point in the history
Looks like multi-region setups need the region name

Fixes LP# 1081037

DocImpact

Change-Id: Id8d5b1e1adef75a93df9a3527fd6da463fed0d09
  • Loading branch information
Davanum Srinivas committed Jan 28, 2013
1 parent 592d46a commit 30c68f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions nova/network/quantumv2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def _get_auth_token():
httpclient = client.HTTPClient(
username=CONF.quantum_admin_username,
tenant_name=CONF.quantum_admin_tenant_name,
region_name=CONF.quantum_region_name,
password=CONF.quantum_admin_password,
auth_url=CONF.quantum_admin_auth_url,
timeout=CONF.quantum_url_timeout,
Expand Down
2 changes: 2 additions & 0 deletions nova/network/quantumv2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
help='password for connecting to quantum in admin context'),
cfg.StrOpt('quantum_admin_tenant_name',
help='tenant name for connecting to quantum in admin context'),
cfg.StrOpt('quantum_region_name',
help='region name for connecting to quantum in admin context'),
cfg.StrOpt('quantum_admin_auth_url',
default='http://localhost:5000/v2.0',
help='auth url for connecting to quantum in admin context'),
Expand Down

0 comments on commit 30c68f4

Please sign in to comment.