Abstract:
A data processing method and an OpenFlow network are provided. According to the method, after acquiring an aggregation rule from a controller in the OpenFlow network, a switch in the OpenFlow network performs rule matching on to-be-reported data flows according to the aggregation rule. The switch extracts information about data flows matching the aggregation rule in the to-be-reported data flows. Then the switch packetizes and sends the information to the controller, such that the controller determines, according to the information, a forwarding rule for the data flows matching the aggregation rule in the switch. This method avoids that each to-be-reported data flow is sent to the controller using a Packet_In message respectively, such that control channel bandwidth resources consumed by the Packet_In message are reduced. Utilization of the control channel bandwidth resources is improved.
Abstract:
A load balancing implementation method, device, and system, where the method includes determining, by a switch according to a meter entry of each output port, a write value corresponding to a real-time flow rate of each output port when a flow entry used to forward traffic does not exist, sending the write value to a controller such that the controller creates a forwarding flow entry used to forward the traffic according to the write value, receiving, by the switch, the forwarding flow entry, and forwarding the traffic through the target output port. Therefore, the controller can obtain a rate range of a real-time flow rate of an output port of the switch and allocate a forwarding path according to the obtained rate range of the real-time flow rate, and implement a better load balancing.
Abstract:
A method and an apparatus for acquiring an Internet Protocol (IP) address by a Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol (DHCP) client. The method includes generating, by a controller, a first DHCP discover packet, forwarding, by the controller, the first DHCP discover packet to a DHCP server through a switch so that the DHCP server generates a DHCP offer packet, and sends the DHCP offer packet to the switch, receiving, by the controller, the DHCP offer packet and port information of the switch to communicate with the DHCP server, wherein the DHCP offer packet and the port are reported by the switch, acquiring address information of the DHCP server, and generating, by the controller according to the address information and the port, a forwarding rule for forwarding from the switch to the DHCP server, to assist the DHCP client in acquiring an IP address of the DHCP client.