Adjustment method execution order

Maybe we could execute setup_tunnel_br and then setup_tunnel_br_flows

Change-Id: If4c9bcc1cc0d06c6acf976f1f3b950a3ef86072c
This commit is contained in:
lilintan 2016-09-21 10:06:53 +08:00
parent 2612331a05
commit 90398a3c55
1 changed files with 1 additions and 3 deletions

View File

@ -200,6 +200,7 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
# The patch_int_ofport and patch_tun_ofport are updated
# here inside the call to setup_tunnel_br()
self.setup_tunnel_br(ovs_conf.tunnel_bridge)
self.setup_tunnel_br_flows()
self.init_extension_manager(self.connection)
@ -218,9 +219,6 @@ class OVSNeutronAgent(sg_rpc.SecurityGroupAgentRpcCallbackMixin,
self.enable_tunneling,
self.enable_distributed_routing)
if self.enable_tunneling:
self.setup_tunnel_br_flows()
if self.enable_distributed_routing:
self.dvr_agent.setup_dvr_flows()