]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix linux bridge section name
authorYong Sheng Gong <gongysh@cn.ibm.com>
Wed, 30 May 2012 05:59:52 +0000 (13:59 +0800)
committerGary Kotton <gkotton@redhat.com>
Thu, 31 May 2012 06:39:29 +0000 (02:39 -0400)
Bug #1006684

Change-Id: Ic7a97179d6fbb90f8c7f544a5725e1ff56fd9653

quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py
quantum/plugins/linuxbridge/common/config.py

index 1d5887afb28eb9a68ca3507b446d17327f75cec1..bb1e036a9f7bbcabf1c339d24727d999ac552a00 100755 (executable)
@@ -481,7 +481,7 @@ def main():
     config_file = args[0]
     conf = config.parse(config_file)
     br_name_prefix = BRIDGE_NAME_PREFIX
-    physical_interface = conf.BRIDGE.physical_interface
+    physical_interface = conf.LINUX_BRIDGE.physical_interface
     polling_interval = conf.AGENT.polling_interval
     reconnect_interval = conf.DATABASE.reconnect_interval
     root_helper = conf.AGENT.root_helper
index 486929557fb2c6905717f0dcfabd455e5f14a92c..c4f51f7bc00caf35953a59fc5d1c9dbdeaeafbcc 100644 (file)
@@ -45,6 +45,6 @@ def parse(config_file):
     conf(args=[])
     conf.register_opts(vlan_opts, "VLANS")
     conf.register_opts(database_opts, "DATABASE")
-    conf.register_opts(bridge_opts, "BRIDGE")
+    conf.register_opts(bridge_opts, "LINUX_BRIDGE")
     conf.register_opts(agent_opts, "AGENT")
     return conf