Re: [ovs-dev] [PATCH 1/4] ovn-controller: decouple localnet_port update from patch_run

2017-06-06 Thread Han Zhou
On Tue, Jun 6, 2017 at 12:31 PM, Ben Pfaff wrote: > > On Thu, May 25, 2017 at 05:26:44PM -0700, Han Zhou wrote: > > We figure out local datapaths in binding_run() but update the field > > localnet_port for each local datapath that has localnet port in > > patch_run(). This patch updates the localn

Re: [ovs-dev] [PATCH 1/4] ovn-controller: decouple localnet_port update from patch_run

2017-06-06 Thread Ben Pfaff
On Thu, May 25, 2017 at 05:26:44PM -0700, Han Zhou wrote: > We figure out local datapaths in binding_run() but update the field > localnet_port for each local datapath that has localnet port in > patch_run(). This patch updates the localnet_port field in binding_run > directly and removes the logic

[ovs-dev] [PATCH 1/4] ovn-controller: decouple localnet_port update from patch_run

2017-05-25 Thread Han Zhou
We figure out local datapaths in binding_run() but update the field localnet_port for each local datapath that has localnet port in patch_run(). This patch updates the localnet_port field in binding_run directly and removes the logic in patch_run(), since the logic is more about port-binding proces