I guess that the answer is "yes". I don't know how to do it.
On Thu, May 05, 2016 at 04:51:49PM -0400, Brendan Chang wrote: > Hi, > > Sorry again, but I realized my previous question wasn't worded very > clearly. Is there a way to intercept OVS/OVN packets in the Linux kernel? > I've heard that there is a way to do this by writing a kernel module but I > haven't found any leads. > > Thanks, > > Brendan > > On Wed, May 4, 2016 at 11:43 PM, Brendan Chang <bsch...@mit.edu> wrote: > > > Hi, > > > > Sorry for reviving an old thread. To clarify, does the packet itself > > contain the tunnel_key of the datapath binding? If so, what exactly is the > > structure of a packet in this case or where in the packet would I find this > > field? > > > > Thanks, > > > > Brendan > > > > On Wed, Nov 4, 2015 at 1:00 PM, Ben Pfaff <b...@nicira.com> wrote: > > > >> On Wed, Nov 04, 2015 at 11:34:07AM -0500, Brendan Chang wrote: > >> > I'm using OVN for a project for network performance isolation and I was > >> > wondering if there are any packet headers or fields which tell what > >> logical > >> > network they came from? > >> > > >> > For example, if I had two isolated logical networks where switch 1 > >> connects > >> > clients A and B and switch 2 connects clients C and D, is there some > >> field > >> > which tells if a packet came from the first network or the second? > >> > >> Yes, the network of a packet is encoded in the encapsulation. See > >> "Tunnel Encapsulation" in ovn-architecture(7). > >> > >> (A packet that traverses a logical router passes through multiple > >> networks. The one that appears on the wire would be that of the > >> destination logical switch.) > >> > > > > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss