摘要:
A flow entry configuration method, apparatus, and system are disclosed. The method includes: reporting, by a switch, information about a data packet of a first service to a controller, receiving a flow entry delivered by the controller according to the information and a flow table structure, determining a first target service path matching the flow entry of the first service, determining a target hardware flow table according to a preconfigured correspondence between the service path and a hardware flow table of the switch, and configuring a flow entry of the target hardware flow table according to the flow entry of the first service. Therefore, no matter to which controller the switch is connected, the switch can successfully configure, in the hardware flow table, the flow entry used to implement the first service, so as to successfully process the first service, thereby reducing a probability of failure in service processing.
摘要:
The present disclosure discloses a flow table matching method and apparatus and an OpenFlow switching system to implement matching of any field in any data flow without changing existing hardware logic or a standard protocol. The method includes: receiving a jump instruction and a match instruction that are delivered by a controller for a first flow table; creating a first flow entry in the first flow table; receiving a flow mode message delivered by the controller for a second flow table; and creating a second flow entry in the second flow table. The present disclosure lays a foundation for implementing really flexible and programmable software-defined networking, assists a network service operator in reducing capital expenditures and operation expenditures, and enables a traditional IP network to have more flexible network abstraction and management capabilities for a real-time service.
摘要:
The present disclosure relates to a data transmission method and apparatus in an optoelectronic hybrid network. The method is: receiving an RDMA transmission request, and determining an RDMA transmission type and a to-be-transmitted data volume for data transmission according to the RDMA transmission request; determining a preset encapsulation format corresponding to the RDMA transmission type for data transmission and the to-be-transmitted data volume for data transmission; receiving to-be-transmitted data and encapsulating the to-be-transmitted data into a to-be-transmitted data packet of the determined preset encapsulation format; selecting a switching link for data transmission from an optical switching link and an electrical switching link according to a size of the to-be-transmitted data packet; and sending the to-be-transmitted data packet to a peer end based on the selected switching link for data transmission. Therefore, a proper switching link can be selected each time RDMA transmission for data transmission is performed.
摘要:
A data flow statistics collection method, a switch, and a controller. The data flow statistics collection method includes recording first identification information and second identification information in the first flow entry if a part of fields in a data packet match a flow entry and the flow entry is the last flow entry corresponding to the to-be-counted flow object, where the first identification information identifies that the first part of fields match the first flow entry and the second identification information identifies that at least one second part of fields in the data packet respectively match a second flow entry in at least one second flow table. The data flow statistics collection method also includes performing, in the first flow entry, statistics collection on the to-be-counted flow object, and recording statistical information of the to-be-counted flow object. In this way, statistics collection on the to-be-counted flow object is implemented.
摘要:
A flow entry delivery method and a communication system are provided. The communication system includes a controller and N switches. After receiving a packet-in message sent by a source switch, the controller determines a forwarding path for forwarding to-be-forwarded data. Then, the controller generates a corresponding flow entry for each of the N switches in the forwarding path separately, and generates a corresponding control instruction for each of other N−1 switches except the source switch in the forwarding path separately. After encapsulating the generated N flow entries and N−1 control instructions into the Nth command packet, the controller sends the Nth command packet to the Nth switch of the N switches, so that the Nth switch transmits the N flow entries in the forwarding path according to the Nth control instruction in the Nth command packet.
摘要:
A flow entry configuration method, apparatus, and system are disclosed. The method includes: reporting, by a switch, information about a data packet of a first service to a controller, receiving a flow entry delivered by the controller according to the information and a flow table structure, determining a first target service path matching the flow entry of the first service, determining a target hardware flow table according to a preconfigured correspondence between the service path and a hardware flow table of the switch, and configuring a flow entry of the target hardware flow table according to the flow entry of the first service. Therefore, no matter to which controller the switch is connected, the switch can successfully configure, in the hardware flow table, the flow entry used to implement the first service, so as to successfully process the first service, thereby reducing a probability of failure in service processing.
摘要:
A data flow statistics collection method, a switch, and a controller. The data flow statistics collection method includes recording first identification information and second identification information in the first flow entry if a part of fields in a data packet match a flow entry and the flow entry is the last flow entry corresponding to the to-be-counted flow object, where the first identification information identifies that the first part of fields match the first flow entry and the second identification information identifies that at least one second part of fields in the data packet respectively match a second flow entry in at least one second flow table. The data flow statistics collection method also includes performing, in the first flow entry, statistics collection on the to-be-counted flow object, and recording statistical information of the to-be-counted flow object. In this way, statistics collection on the to-be-counted flow object is implemented.
摘要:
A flow entry delivery method and a communication system are provided. The communication system includes a controller and N switches. After receiving a packet-in message sent by a source switch, the controller determines a forwarding path for forwarding to-be-forwarded data. Then, the controller generates a corresponding flow entry for each of the N switches in the forwarding path separately, and generates a corresponding control instruction for each of other N−1 switches except the source switch in the forwarding path separately. After encapsulating the generated N flow entries and N−1 control instructions into the Nth command packet, the controller sends the Nth command packet to the Nth switch of the N switches, so that the Nth switch transmits the N flow entries in the forwarding path according to the Nth control instruction in the Nth command packet.
摘要:
A flow entry configuration method, apparatus, and system are disclosed. The method includes: reporting, by a switch, information about a data packet of a first service to a controller, receiving a flow entry delivered by the controller according to the information and a flow table structure, determining a first target service path matching the flow entry of the first service, determining a target hardware flow table according to a preconfigured correspondence between the service path and a hardware flow table of the switch, and configuring a flow entry of the target hardware flow table according to the flow entry of the first service. Therefore, no matter to which controller the switch is connected, the switch can successfully configure, in the hardware flow table, the flow entry used to implement the first service, so as to successfully process the first service, thereby reducing a probability of failure in service processing.
摘要:
A data transmission method in software-defined networking (SDN) environment using transmission control protocol (TCP). An application server sends a transmission resource allocation request to a controller. The request carries an address of a sending device and an address of a receiving device. The controller determines a first transmission path and a second transmission path between the sending device and the receiving device according to the request. The first transmission path is used by the sending device to transmit data to the receiving device, and the second transmission path is used by the receiving device to transmit an acknowledgment to the sending device. The controller sends a transmission resource allocation response to the application server. The application server determines, according to the response, an initial value of a transmit window for transmitting data. The sending device transmits the data to the receiving device according to the transmit window.