Re: [ovs-dev] [PATCH 23/23] ovn: Implement basic logical L3 routing.

2015-10-16 Thread Ben Pfaff
On Fri, Oct 16, 2015 at 05:20:09PM -0700, Justin Pettit wrote: > > > On Oct 9, 2015, at 9:21 PM, Ben Pfaff wrote: > > > > --- > > ovn/TODO| 6 - > > From ovn/TODO: > > -=-=-=-=-=-=-=-=- > ** IP to MAC binding > > Somehow it has to be possible for an L3 logical router to map f

Re: [ovs-dev] [PATCH 23/23] ovn: Implement basic logical L3 routing.

2015-10-16 Thread Justin Pettit
> On Oct 9, 2015, at 9:21 PM, Ben Pfaff wrote: > > --- > ovn/TODO| 6 - From ovn/TODO: -=-=-=-=-=-=-=-=- ** IP to MAC binding Somehow it has to be possible for an L3 logical router to map from an IP address to an Ethernet address. This can happen statically or dynamically.

Re: [ovs-dev] [PATCH 23/23] ovn: Implement basic logical L3 routing.

2015-10-16 Thread Ben Pfaff
On Thu, Oct 15, 2015 at 11:49:13PM -0700, Han Zhou wrote: > On Fri, Oct 9, 2015 at 9:21 PM, Ben Pfaff wrote: > > +/* Connect logical router ports, and logical switch ports of type > > "router", > > + * to their peers. */ > > +struct ovn_port *op; > > +HMAP_FOR_EACH (op, key_node,

Re: [ovs-dev] [PATCH 23/23] ovn: Implement basic logical L3 routing.

2015-10-15 Thread Han Zhou
Hi Ben, On Fri, Oct 9, 2015 at 9:21 PM, Ben Pfaff wrote: > +/* Connect logical router ports, and logical switch ports of type > "router", > + * to their peers. */ > +struct ovn_port *op; > +HMAP_FOR_EACH (op, key_node, ports) { This seems not efficient. There are far more lswitc

[ovs-dev] [PATCH 23/23] ovn: Implement basic logical L3 routing.

2015-10-09 Thread Ben Pfaff
This implement basic logical L3 routing. It has a lot of caveats, including the following regarding testing: * Only single-router hops have been tested. Chains or trees of logical routers may work but definitely need testing and may need a little extra code. * No testing of logi