Hi,

In ovs 2.5.0 I observed the following.
I added a group and flows with these commands:

ovs-ofctl -OOpenFlow13 add-group br1 
group_id=100,type=indirect,bucket=actions=output:CONTROLLER
ovs-ofctl -OOpenFlow13 add-flow br1 
table=0,priority=100,in_port=110,arp,arp_op=2,actions=write_metadata:111,goto_table:80
ovs-ofctl -OOpenFlow13 add-flow br1 table=80,metadata=111,actions=group:100

In this case the PACKET_IN message sent to the controller indicates table_id=80.

If I use write_action (instead of default apply_action) in the last flow like 
this:

ovs-ofctl -OOpenFlow13 add-group br1 
group_id=100,type=indirect,bucket=actions=output:CONTROLLER
ovs-ofctl -OOpenFlow13 add-flow br1 
table=0,priority=100,in_port=110,arp,arp_op=2,actions=write_metadata:111,goto_table:80
ovs-ofctl -OOpenFlow13 add-flow br1 
table=80,metadata=111,actions=write_actions\(group:100\)

then the PACKET_IN indicates table_id=0.

Does this behavior correspond with OpenFlow1.3? I found only this: "For the 
Write-Actions instruction, the actions field is treated as a set and the 
actions are merged into the current action set"

Best regards,
Zoltan

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to