Re: [ovs-dev] [PATCH V9 1/3] ovn-controller-vtep: Add vtep module.

2015-09-13 Thread ALeX Wang
On 13 September 2015 at 11:59, Justin Pettit wrote: > > > On Sep 13, 2015, at 11:35 AM, ALeX Wang wrote: > > > >> On 12 September 2015 at 16:43, Justin Pettit > wrote: > >> > >> > On Aug 27, 2015, at 11:21 PM, Alex Wang wrote: > >> > > >> > >> > +/* Since we do not own any vtep logical switch,

Re: [ovs-dev] [PATCH V9 1/3] ovn-controller-vtep: Add vtep module.

2015-09-13 Thread Justin Pettit
> On Sep 13, 2015, at 11:35 AM, ALeX Wang wrote: > >> On 12 September 2015 at 16:43, Justin Pettit wrote: >> >> > On Aug 27, 2015, at 11:21 PM, Alex Wang wrote: >> > >> >> > +/* Since we do not own any vtep logical switch, just sets their tunnel key >> > + * to 0. */ >> > +static bool >> > +

Re: [ovs-dev] [PATCH V9 1/3] ovn-controller-vtep: Add vtep module.

2015-09-13 Thread ALeX Wang
On 12 September 2015 at 16:43, Justin Pettit wrote: > > > On Aug 27, 2015, at 11:21 PM, Alex Wang wrote: > > > > > > --- a/ovn/controller-vtep/binding.c > > +++ b/ovn/controller-vtep/binding.c > > @@ -226,7 +226,8 @@ binding_run(struct controller_vtep_ctx *ctx) > > } > > > > /* Removes all port

Re: [ovs-dev] [PATCH V9 1/3] ovn-controller-vtep: Add vtep module.

2015-09-12 Thread Justin Pettit
> On Aug 27, 2015, at 11:21 PM, Alex Wang wrote: > > > --- a/ovn/controller-vtep/binding.c > +++ b/ovn/controller-vtep/binding.c > @@ -226,7 +226,8 @@ binding_run(struct controller_vtep_ctx *ctx) > } > > /* Removes all port binding association with vtep gateway chassis. > - * Returns true when

[ovs-dev] [PATCH V9 1/3] ovn-controller-vtep: Add vtep module.

2015-08-27 Thread Alex Wang
This commit adds the vtep module to ovn-controller-vtep. The module will scan through the Port_Binding table in OVN-SB database, and update the vtep logcial switches tunnel keys. Signed-off-by: Alex Wang Acked-by: Russell Bryant --- V8->V9: - Add Ack from Russell. - Fix minor comments. V7->V8: