It's because group buckets are applied to a copy of the current flow state, not to the active flow state.
You can get the effect you want by putting the resubmit into the group bucket itself. On Sun, Apr 29, 2018 at 06:40:06PM -0700, Manoj Sharma wrote: > Is it possible to load a register from group action? I tried using 'load' > as well as 'set_field' and both do not seem to work. > Is it because these get added into action-set and not applied immediately > or not supported as part of group action at all? Is there any way to set > the register from inside group buckets? > > # ovs-ofctl -O OpenFlow13 add-group br-int > "group_id=101,type=select,bucket=load:0x2->NXM_NX_REG15[],bucket=load:0x3->NXM_NX_REG15[]" > > # ovs-ofctl -O OpenFlow12 dump-groups br-int > > OFPST_GROUP_DESC reply (OF1.2) (xid=0x2): > > group_id=101,type=select,bucket=actions=load:0x2->NXM_NX_REG15[],bucket=actions=load:0x3->NXM_NX_REG15[] > > # Add a flow in table 23 with group as action > # ovs-ofctl add-flow br-int > "table=23,priority=111,metadata=0x9,dl_dst=f0:00:00:01:02:05 > actions=group:101,resubmit(,32)" > > # ovs-ofctl dump-flows br-int metadata=0x9 | grep table=32 > cookie=0x0, duration=11124.797s, table=32, n_packets=0, n_bytes=0, > idle_age=10852, priority=100,reg15=0x2,metadata=0x9 actions=output:6 > cookie=0x0, duration=11124.797s, table=32, n_packets=0, n_bytes=0, > idle_age=10852, priority=100,reg15=0x3,metadata=0x9 actions=output:7 > _______________________________________________ > discuss mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
