In a certain scenario, I want to perform write metadata and go to the next 
table for a matched flow. However, when I config the flow table, I got the 
following errors:
ovs-ofctl add-flow br0 
in_port=2,nw_src=192.168.1.1,actions=goto_table:1,write_metadata:18ovs-ofctl: 
Instruction write_metadata must be specified before goto_table
ovs-ofctl add-flow br0 
in_port=2,nw_src=192.168.1.1,actions=write_metadata:18,goto_table:12012-12-29T00:23:23Z|00001|ofp_actions|WARN|write_metadata
 instruction must be specified after other instructions/actionsovs-ofctl: 
Incorrect instruction ordering
Notice that, if I replace goto_table:1 to resubmit(,:1), it works.

According to OF spec, goto_table instruction should be the last. However, why 
write_metadata has to be after resubmit action, can anyone explain it? 
I am using the following OVS version:
ovs-vswitchd --versionovs-vswitchd (Open vSwitch) 1.9.90Compiled Dec 28 2012 
14:21:11OpenFlow versions 0x1:0x1
git rev-parse HEAD6ea4776bc043089fa307943705002a60ff4983b4
                                          
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to