metaplugin: use correct parameter to call neutron client

Use region_name instead of auth_region.

Change-Id: Ia4640f282de6d781f4f2d5b35da93afa4a88b6bb
Closes-Bug: 1252982
This commit is contained in:
Hirofumi Ichihara 2013-11-20 15:17:02 +08:00 committed by Jian Wen
parent 5755a04e0c
commit 143b0ec2f6
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ class MetaInterfaceDriver(LinuxInterfaceDriver):
tenant_name=self.conf.admin_tenant_name,
auth_url=self.conf.auth_url,
auth_strategy=self.conf.auth_strategy,
auth_region=self.conf.auth_region
region_name=self.conf.auth_region
)
self.flavor_driver_map = {}
for flavor, driver_name in [

View File

@ -42,7 +42,7 @@ class ProxyPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
tenant_name=cfg.CONF.PROXY.admin_tenant_name,
auth_url=cfg.CONF.PROXY.auth_url,
auth_strategy=cfg.CONF.PROXY.auth_strategy,
auth_region=cfg.CONF.PROXY.auth_region
region_name=cfg.CONF.PROXY.auth_region
)
def _get_client(self):