Packet processing method and apparatus
First Claim
1. A method for packet processing, the method comprising:
- sending, by a controller, a first message to a switch, the first message carrying a to-be-installed flow entry and packet sending information;
installing, by the switch, the to-be-installed flow entry;
constructing, by the switch, in response to the packet sending information, an end marker packet, wherein the end market packet indicates an end of a payload stream on a given tunnel; and
sending the end marker packet out, by the switch, according to the packet sending information.
1 Assignment
0 Petitions
Accused Products
Abstract
A packet processing method and an apparatus, where the method includes determining a to-be-installed flow entry and packet sending information, and sending, to a switch, a flow entry installation message carrying the to-be-installed flow entry and the packet sending information, such that the switch obtains the to-be-installed flow entry and the packet sending information from the flow entry installation message, installs the flow entry, and sends a packet according to the packet sending information. In the present disclosure, a controller sends a flow entry installation message carrying a to-be-installed flow entry and a packet sending message, where the to-be-installed flow entry and a to-be-sent packet are simultaneously sent, such that a switch simultaneously receives the to-be-installed flow entry and the to-be-sent packet, and performs flow entry installation and packet sending.
-
Citations
20 Claims
-
1. A method for packet processing, the method comprising:
-
sending, by a controller, a first message to a switch, the first message carrying a to-be-installed flow entry and packet sending information; installing, by the switch, the to-be-installed flow entry; constructing, by the switch, in response to the packet sending information, an end marker packet, wherein the end market packet indicates an end of a payload stream on a given tunnel; and sending the end marker packet out, by the switch, according to the packet sending information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A communication system comprising:
a controller configured to send a first message carrying a to-be-installed flow entry and packet sending information to a switch, wherein the switch is configured to; install the to-be-installed flow entry; construct an end marker packet in response to the packet sending information, wherein the end market packet indicates an end of a payload stream on a given tunnel; and send the end marker packet out according to the packet sending information. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
17. A switch, comprising:
-
a computer readable memory having instructions stored thereon; and a processor coupled to the computer readable memory, wherein the processor is configured to execute the instructions that when executed, cause the switch to; receive a first message from a controller, wherein the first message carries a to-be-installed flow entry and packet sending information; install the to-be-installed flow entry; construct an end marker packet in response to the packet sending information, wherein the end market packet indicates an end of a payload stream on a given tunnel; and send the end marker packet out according to the packet sending information. - View Dependent Claims (18, 19, 20)
-
Specification