[ovs-discuss] DP_Packet Payload Modification

Ben Pfaff blp at ovn.org
Fri Jun 5 19:32:20 UTC 2020

On Fri, Jun 05, 2020 at 05:56:54PM +0000, Luca Mancini wrote:
> Basically, I’m implementing a custom action which is meant to buffer
> an x amount of dp_packets that match a certain flow, and then send a
> new packet directly from the switch, containing the buffer of packets,
> as its payload. At some other switch this payload is then meant to be
> extracted so that I can retrieve the buffer of dp_packets and send the
> single packets contained in the buffer to the correct hosts.
> My action is implemented in userspace only for now since efficiency
> isn’t a concern for me atm. I already implemented the buffering
> mechanism and it works, and now I’m trying to create this custom udp
> packet so that I can store the buffer in it. For now I’m only trying
> to create a dummy udp packet with a “hello world” string as its
> payload just to see if I can create this custom packet however I just
> can’t figure out what I’m missing. My most recent attempt is the
> following

I'd use a local controller for this. Then you don't have to implement
anything in OVS at all.

More information about the discuss mailing list