Re: [ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-26 Thread Ben Pfaff
*shrug* The code wasn't ever intended for that purpose so it's not shocking that it doesn't work. On Sat, Mar 26, 2016 at 10:14:35AM -0400, Hoff, Adam wrote: > Sorry for the lack of clarity. In the learn_execute function, there is an > input parameter fm, which is a flow mod. There is a line sett

Re: [ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-26 Thread Hoff, Adam
Sorry for the lack of clarity. In the learn_execute function, there is an input parameter fm, which is a flow mod. There is a line setting fm's command value to OFPFC_MODIFY_STRICT (whole line: fm->command = OFPFC_MODIFY_STRICT). I would like to add an action which is equivalent to learn, except th

[ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-25 Thread Hoff, Adam
Sorry for the lack of clarity. In the learn_execute function, there is an input parameter fm, which is a flow mod. There is a line setting fm's command value to OFPFC_MODIFY_STRICT (whole line: fm->command = OFPFC_MODIFY_STRICT). I would like to add an action which is equivalent to learn, except th

Re: [ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-22 Thread Ben Pfaff
On Mon, Mar 21, 2016 at 02:51:04PM -0400, Hoff, Adam wrote: > I've just recently ported some changes from OVS version 2.0 to 2.5. In 2.0, > I was able to basically copy the learn action, and modify the flow mod's > command to use OFPFC_DELETE, which would then delete rules (even ones that > weren't

[ovs-discuss] Using OFPFC_DELETE with a learn action

2016-03-22 Thread Hoff, Adam
Hello, I've just recently ported some changes from OVS version 2.0 to 2.5. In 2.0, I was able to basically copy the learn action, and modify the flow mod's command to use OFPFC_DELETE, which would then delete rules (even ones that weren't learned by another learn action). However, in 2.5, this cha