Merge "Add Region name to quantum client"

This commit is contained in:
Jenkins 2013-01-30 00:15:08 +00:00 committed by Gerrit Code Review
commit f211597f02
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -41,6 +41,8 @@ quantum_opts = [
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'),