[ovs-discuss] OVS Group bucket action=resubmit

Ben Pfaff blp at ovn.org
Mon Jun 13 00:43:41 UTC 2016


Thanks for the details.

You have found a bug.  I sent a fix:
        http://openvswitch.org/pipermail/dev/2016-June/072760.html

On Sun, Jun 12, 2016 at 11:51:34PM +0200, james hopper wrote:
> Apologies for any inconvenience. I tried all of the following..
> ovs-ofctl -O OpenFlow15 add-group br0 group_id=0,type=select,bucket=
> weight:10,actions="resubmit(,1)",bucket=weight:10,actions="resubmit(,2)",bucket
> =weight:1,actions="resubmit(,3)"
>  
> ovs-ofctl -O OpenFlow15 add-group br0 group_id=0,type=select,bucket=
> weight:10,actions='resubmit(,1)',bucket=weight:10,actions='resubmit(,2)',bucket
> =weight:1,actions='resubmit(,3)'
>  
> ovs-ofctl -O OpenFlow15 add-group br0 group_id=0,type=select,bucket=
> weight:10,"actions=resubmit(,1)",bucket=weight:10,"actions=resubmit(,2)",bucket
> =weight:1,"actions=resubmit(,3)"
> ovs-ofctl -O OpenFlow15 add-group br0 group_id=0,type=select,bucket=
> weight:10,'actions=resubmit(,1)',bucket=weight:10,'actions=resubmit(,2)',bucket
> =weight:1,'actions=resubmit(,3)'
>  
>  
> Sent: Sunday, June 12, 2016 at 2:09 PM
> From: "Ben Pfaff" <blp at ovn.org>
> To: "james hopper" <jameshopper at email.com>
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] OVS Group bucket action=resubmit
> Please keep the discussion on-list.
> 
> What is the exact command you executed?
> 
> On Sun, Jun 12, 2016 at 11:01:42PM +0200, james hopper wrote:
> > Hey Ben. Thanks for your response. I tried quoting the action with both ''
> and
> > "" but then it says ovs-ofctl: unknown action. Any thought about it? Thanks
> >
> > Sent: Sunday, June 12, 2016 at 1:55 PM
> > From: "Ben Pfaff" <blp at ovn.org>
> > To: "james hopper" <jameshopper at email.com>
> > Cc: discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] OVS Group bucket action=resubmit
> > On Sun, Jun 12, 2016 at 09:43:23PM +0200, james hopper wrote:
> > > Hi all,
> > > I am trying to use resubmit action with groups in OVS-2.4. but it is
> > producing
> > > "syntax error near unexpected token `('". More precisely, i am trying to
> > > install following entry on OVS
> > > ovs-ofctl -O OpenFlow15 add-group br0 group_id=0,type=select, bucket=
> > weight:2,
> > > actions=resubmit(,1), bucket=weight:1, actions=resubmit(,2)
> > >
> > > OVS documentation mentions that bucket actions in group are identical to
> > > actions field in Flow Syntax.
> >
> > That's an error from your shell. Quote the actions with '' or "".



More information about the discuss mailing list