Re: [ovs-dev] Why create patch port pair for logical router interface

2016-05-18 Thread Na Zhu
Thanks your explanation. 2016-05-19 12:11 GMT+08:00 Ben Pfaff : > That describes what the logical router datapath does. > > The main purpose of the patch port is to provide isolation. A packet > that ingresses on a logical switch might egress on several ports. A > packet that passed directly fr

Re: [ovs-dev] Why create patch port pair for logical router interface

2016-05-18 Thread Ben Pfaff
That describes what the logical router datapath does. The main purpose of the patch port is to provide isolation. A packet that ingresses on a logical switch might egress on several ports. A packet that passed directly from a logical switch to a logical router might be modified by the logical ro

Re: [ovs-dev] Why create patch port pair for logical router interface

2016-05-18 Thread Na Zhu
I need learn the code, it is a easy way to implement, but i think it is not the only way. OVN knows how to what packets should be bridge and what packets should be routing, for example, it can configure flows to match dmac, if it is router mac, set the metadata to logical router datapath identifer

Re: [ovs-dev] Why create patch port pair for logical router interface

2016-05-18 Thread Ben Pfaff
On Wed, May 18, 2016 at 09:01:51PM +0800, Na Zhu wrote: > OVN creates patch port pair for logical router interface, the routing > packets go through ovs openflow pipeline many times (for routing in one HV, > it is 3 times), i am confused why implement it like this, can anyone tell > me it? How do

[ovs-dev] Why create patch port pair for logical router interface

2016-05-18 Thread Na Zhu
Hi, OVN creates patch port pair for logical router interface, the routing packets go through ovs openflow pipeline many times (for routing in one HV, it is 3 times), i am confused why implement it like this, can anyone tell me it? BR Na ___ dev mailin