[ovs-discuss] table_id becomes zero in PACKET_IN when using write_action(group) instead of group

Zoltán Balogh zoltan.balogh at ericsson.com
Mon Apr 11 14:02:00 UTC 2016


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160411/d9f9c553/attachment-0002.html>


More information about the discuss mailing list