]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
metaplugin: use correct parameter to call neutron client
authorHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Wed, 20 Nov 2013 07:17:02 +0000 (15:17 +0800)
committerJian Wen <jian.wen@canonical.com>
Mon, 25 Nov 2013 05:37:47 +0000 (13:37 +0800)
Use region_name instead of auth_region.

Change-Id: Ia4640f282de6d781f4f2d5b35da93afa4a88b6bb
Closes-Bug: 1252982

neutron/agent/linux/interface.py
neutron/plugins/metaplugin/proxy_neutron_plugin.py

index 42a1f82d15d9fcbe49865d859156bf3902818634..768a2a3700bd3726cb5bd4b5e4ee3de3028af8c0 100644 (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 [
index 1590f5ae5af20de0586e18159d068e77f03115c6..e8faa310d15ee318bd7ead88ab672c3807abe2a4 100644 (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):