Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Gregory Rose
On 6/5/2020 11:00 AM, Luca Mancini wrote: Hi Greg, I realized I didn’t give a lot of context.. 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

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread luca . mancini
I think I'm at a decent point already considering it's part of a thesis work so i have time. As i said I already implemented the buffering part, i need a way to create a custom packet and then send it, all from userspace and that's about it i think.The fact that you're saying it's doable already

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Ben Pfaff
The controller can get as much of the packet as it wants. The number of bytes to send is an operand of the action that sends a packet to the controller. Of course it's doable in OVS--but it's going to be more work and you'll have to understand OVS internals instead of OpenFlow. On Fri, Jun 05,

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Luca Mancini
Hi Ben, I thought controllers didn’t have access to the complete packet but just the (packet_in msgs), so I was told to implement this in the switches and use the controller just as the “brain”. I’d much rather work on a controller to be honest, however, do you not think its doable at all in

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Ben Pfaff
On Fri, Jun 05, 2020 at 05:56:54PM +, 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

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Luca Mancini
Hi Greg, I realized I didn’t give a lot of context.. 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

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Luca Mancini
Hi Greg, I realized I didn’t give a lot of context.. 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

Re: [ovs-discuss] DP_Packet Payload Modification

2020-06-05 Thread Gregory Rose
On 6/4/2020 10:06 AM, Luca Mancini wrote: Hello, This is sort of a repost from my previous question about creating a custom udp payload. I figured I could just clone a received udp payload and modify its payload, do you think this is possible? I tried creating a packet from 0 but I just

Re: [ovs-discuss] [OVN] router-preference in non periodic RA

2020-06-05 Thread Gabriele Cerami
On 02 Jun, Numan Siddique wrote: > > If you want to address this, then you should include router-preference in > the put_nd_ra_opts(), > something like > > reg1[0] = put_nd_ra_opts(addr_mode = "slaac", mtu = 1500, prefix = > aef0::/64, slla = ae:01:02:03:04:05, router-preference=true); Thanks