[ovs-discuss] Using OFPFC_DELETE with a learn action

Ben Pfaff blp at ovn.org
Tue Mar 22 17:31:24 UTC 2016


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 learned by another learn action). 

I don't understand this statement at all.  An action is not anything
like a flow_mod, and an OFPFC_DELETE flow_mod does not include any
actions.  Furthermore, a learn action does not have a command.  What do
you mean?

> However, in 2.5, this change doesn't seem to work. Specifically, my
> modified action gets executed, but no rule is deleted.
> 
> I've tried both my code, and simply changing the command in the newest
> version of the learn action, and the rules are not deleted as expected. Do
> you have any ideas regarding how delete changes between the versions which
> would impact my functionality.



More information about the discuss mailing list