Fix linux bridge section name

Bug #1006684

Change-Id: Ic7a97179d6fbb90f8c7f544a5725e1ff56fd9653
This commit is contained in:
Yong Sheng Gong 2012-05-30 13:59:52 +08:00 committed by Gary Kotton
parent 37b1448ca6
commit 2aff1017cd
2 changed files with 2 additions and 2 deletions

View File

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

View 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