Abstract:
The present invention relates to a flow table modifying method, a flow table modifying apparatus, and an OpenFlow network system. The flow table modifying method includes: receiving, by a switch, a modify flow entry message sent by a controller; searching, by the switch, a flow table corresponding to a flow table identifier for whether there is a flow entry matching to-be-modified target information; and in a case in which there is the flow entry matching the to-be-modified target information, changing, by the switch, a match field in the matched flow entry to a new match field. According to the flow table modifying method in an embodiment of the present invention, the switch searches the flow table corresponding to the flow table identifier for the flow entry matching the to-be-modified target information and changes the match field in the matched flow entry to the new match field.
Abstract:
Embodiments of the present invention provide a flow entry aging method, a switch, and a controller. The flow entry aging method in accordance with the present disclosure includes: obtaining, by a switch, an aging threshold of a flow entry, where the aging threshold includes information indicating a matching success threshold of the flow entry; matching, by the switch, the flow entry and a received data packet, and incrementing a matching success quantity; determining, by the switch, whether the matching success quantity reaches the matching success threshold; and determining, by the switch, the flow entry has aged according to the determination whether the matching success quantity reaches matching success threshold. According to the embodiments of the present invention, aging precision of the flow entry can be improved, and wrong processing performed by the switch on the data packet can be reduced.
Abstract:
A flow entry timing processing method and an apparatus are provided, and relate to the computer field, to resolve a prior-art problem that processing time of a flow entry is not accurate enough. The method includes: receiving, by a forwarding plane device, a flow rule message sent by a control plane device, where the flow rule message includes an ineffective time of a flow entry and a time type identifier of the ineffective time; and when the time type identifier indicates that the ineffective time is an ineffective moment of the flow entry, performing, by the forwarding plane device, ineffectiveness processing on the flow entry according to the ineffective moment.
Abstract:
Embodiments of the present invention provide a switch processing method, a controller, a switch, and a switch processing system. The method provided by the embodiments of the present invention is executed by the controller and a logical Switch, where the logical Switch includes at least two physical Switches. The method includes: allocating, by the controller, a flow table of the logical Switch to each physical Switch; sending, by the controller, mapping information, so that each physical Switch obtains the mapping information; and sending, by the controller, flow entries, so that each physical Switch obtains flow entries corresponding to each physical switch and processes a data packet. For the logical Switch for executing the method provided by the embodiments of the present invention, new physical Switches may be stacked on a basis of a physical structure of the logical Switch.