On Mon, Oct 21, 2013 at 03:43:22PM -0500, Xiaoye Sun wrote: > This new function is extension to OpenFlow protocol v1.0.0. > In OpenFlow, if a packet does not match the flow table on a switch, the > packet will be sent to the controller via a packet-in message. Then the > OpenFlow controller will react this packet-in message by sending packet-out > or flow-mod message back to the switch. > > What I am going to do is to add a new OpenFlow action, namely "BUFFER" > action, to the OpenFlow1.0 protocol. This BUFFER action buffers packets > into the OpenFlow buffer by calling pktbuf_save() function described in > /ofproto/pktbuf.c. In addition, some new logic inserting the BUFFER entry > should be added to the switch. For example, when a packet does not match > with the flow table (cannot find any matched rule), my switch will insert > an entry to the flow table. The match fields of this entry is a copy of the > header of the mismatching packet and the action field of the entry is > BUFFER. Thus, when the following packets in the same flow come to the > switch, those packet will match this BUFFER entry and be stored into the > OpenFlow buffer.
What's wrong with the existing "learn" action? _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
