On Mon, Aug 22, 2011 at 12:32:02PM -0500, Rai, Siddhant P. wrote: > Here are the flows I'm trying to add, > > dpctl add-flow tcp:127.0.0.1:6634 in_port=3,actions=output:2 > dpctl add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:3 > dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:2 > dpctl add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:1 > dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:3 > dpctl add-flow tcp:127.0.0.1:6634 in_port=3,actions=output:1 > > But when I check the flow, dpctl dump-flows tcp:127.0.0.1:6634, I > get only the last three flows.
You can't add two flows with the same matching criteria and priority. If you try, the later version of the flow replaces the earlier one. If you want to output to two ports, just add two actions, e.g.: dpctl add-flow tcp:127.0.0.1:6634 in_port=3,actions=output:2,output:1 _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
