Hi Clément, Please keep Ryu-devel mailing list. Ryu-devel <[email protected]>
> *Table 0: > Gr 0, Goto Table 1 > > Gr 0: > If port 1 is up then forward the packet there, put metadata to 1 > > Table 1: > If metadata is at 0 then use Gr 1 > > Gr 1: > If port 2 is up then forward the packet there* I think "putting metadata" cannot be specified in Group Table. OpenFlow Spec1.3.4, Action Buckets in Group Table is "Action Set" which includes list of actions. OTH, Write-Metadata is an Instruction, so cannot be specified in Group Table. Expedientially, following doc describes Write-Metadata in Actions Table, but marks it (Instruction). http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#description-of-actions-on-request-messages Thanks On 2015年02月17日 23:45, Clément Rault wrote: > Hi, > > Thanks for your answer. > > Sorry, but I gave a poor example I'm afraid. > > Here is something closer to what I'm trying to achieve: > > *Table 0: > Gr 0, Goto Table 1 > > Gr 0: > If port 1 is up then forward the packet there, put metadata to 1 > > Table 1: > If metadata is at 0 then use Gr 1 > > Gr 1: > If port 2 is up then forward the packet there* > > I tried it but it didn't work and I'm worried that it's because it's not > possible to apply the actions of multiple group entries. And probably because > group entries actions are processed after going through all the flow tables. > > Best, > Clément > > On 17 February 2015 at 06:17, Yusuke Iwase <[email protected] > <mailto:[email protected]>> wrote: > > Hi Clément, > > In your example, I guess a packet will be droped at Gr 0. > > > Table 0: > > Gr 0, Goto Table 1 > > > > Gr 0: > > Set vlan to 1 <--- droped here > > Because no output action and no group action is specified in this action > set. > > > Then, non-VLAN-tagged packet will is ouput at Gr 1. > > > Table 1: > > Gr 1 > > > > Gr 1: > > Sent packet to Outport 1 <--- non-VLAN-tagged packet > > > For more details, please refer to "5.10 Action Set" in OpenFlow Spec1.3.4. > And if you have more questions about "OpenFlow Specification", > I guess you have a better chance to get an answer on ONF mailing list. > > > By the way, how about setting VLAN tags at Table 0 as follows. > > Table 0: > Set vlan to 1, Goto Table 1 > > Table 1: > Gr 0 > > Gr 0: > Sent packet to Outport 1 > > > Thanks > > On 2015年02月17日 01:57, Clément Rault wrote: > > Hi, > > > > I was wondering if it's possible to use multiple group entries during > > the processing of one single packet. > > > > I would like to apply the actions of different group entries on one > > single packet. > > > > For ex I would like to have the following processing: > > > > Table 0: > > Gr 0, Goto Table 1 > > > > Gr 0: > > Set vlan to 1 > > > > Table 1: > > Gr 1 > > > > Gr 1: > > Sent packet to Outport 1 > > > > But I'm not sure if it's possible. Because when I look at the OpenFlow > > Specification the Group Entry Action are applied almost at the end > > (the forwarding to the outport is the only step after) so I don't > > think they can be applied more than once. > > > > Best, > > Clément > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & > more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
