Hi Ben, if I try to add a learn action to the action set using write-action, the switch returns an error OFPET_BAD_ACTION,OFPBAC_BAD_TYPE. From a comment in lib/ofp-actions.c it seems that OVS does not allow adding non-OF actions to an action-set. One last question: if group buckets are like action-sets (a comment in ofproto/ofproto-dpif-xlate.c says "Note that group buckets are action sets [...]"), why does the switch not return any error? By the way you perfectly solved my doubt, thank you! Davide
2015-10-01 18:07 GMT+02:00 Ben Pfaff <[email protected]>: > I don't think OVS currently prohibits them from appearing within > Write-Actions, but they won't have any useful effect there. > > On Thu, Oct 01, 2015 at 01:40:02PM +0200, Davide Sanvito wrote: > > Thank you for your reply. Does this mean that a learn action can only be > > applied within a Apply-Actions instruction and so it cannot be added to > the > > action set via a Write-Actions instruction nor inside a bucket in a group > > entry? > > Thank you! > > Davide > > > > 2015-09-30 8:08 GMT+02:00 Ben Pfaff <[email protected]>: > > > > > On Mon, Sep 21, 2015 at 04:11:28PM +0200, Davide Sanvito wrote: > > > > I'm trying to execute a learn action to table 0 from a group entry. > The > > > > application is written with the Ryu framework and by using ovs-ofctl > I > > > can > > > > confirm that buckets have the correct learn action associated and > that > > > > packets go through the group table. > > > > > > > > By the way no flow entry is added to table 0 by the execution of the > > > learn > > > > action. > > > > > > > > Is this a bug? Is the learn action supported as an action in a group > > > entry? > > > > > > A learn action in an action set doesn't currently have any effect. > > > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
