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.
Abstract:
A method executed by a control device in a software defined network is disclosed. According to the method, after establishing a control channel with a switching device, the control device obtains an identifier of the control channel. Then, the control device generates a flow entry, where the flow entry includes a match field and the identifier of the control channel. Further, the control device sends the flow entry to the switching device, where the flow entry is used to instruct the switching device to send, to the control device using the control channel represented by the identifier of the control channel, a data packet that matches the match field. Hence, classification of a new flow is completed on a switching device side.
Abstract:
A method executed by a control device in a software defined network is disclosed. According to the method, after establishing a control channel with a switching device, the control device obtains an identifier of the control channel. Then, the control device generates a flow entry, where the flow entry includes a match field and the identifier of the control channel. Further, the control device sends the flow entry to the switching device, where the flow entry is used to instruct the switching device to send, to the control device using the control channel represented by the identifier of the control channel, a data packet that matches the match field. Hence, classification of a new flow is completed on a switching device side.
Abstract:
A method and a device for maintaining a multicast group member are disclosed. The method includes sending a query message to a switch at intervals of a preset period, so that the switch sends the query message to each multicast group member included in a multicast group; acquiring a count value of current period query responses received by the switch in a current period; and maintaining, according to the count value of current period query responses and a count value of previous period query responses, the multicast group member included in the multicast group. The device includes a first sending module, an acquiring module, and a maintenance module. In the present disclosure, a multicast group member is maintained using a flow table maintained in a switch, which decreases load of a controller, and improves processing efficiency of maintaining, by the controller, the multicast group member.
Abstract:
A method and an apparatus for dynamically managing a shared memory pool are provided, to determine, based on different service scenarios, a shared memory pool mechanism applicable to a current service scenario, and then dynamically adjust a memory pool mechanism based on the determined result. The method for dynamically managing a shared memory pool includes: determining a first shared memory pool mechanism for the shared memory pool, where the first shared memory pool mechanism is a fixed memory pool mechanism or a dynamic memory pool mechanism; determining a second shared memory pool mechanism suitable for a second service scenario based on the second service scenario, where the second shared memory pool mechanism is a fixed memory pool mechanism or a dynamic memory pool mechanism; and when the second shared memory pool mechanism is different from the first shared memory pool mechanism, adjusting the first shared memory pool mechanism to the second shared memory pool mechanism.
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 a device for maintaining a multicast group member are disclosed. The method includes sending a query message to a switch at intervals of a preset period, so that the switch sends the query message to each multicast group member included in a multicast group; acquiring a count value of current period query responses received by the switch in a current period; and maintaining, according to the count value of current period query responses and a count value of previous period query responses, the multicast group member included in the multicast group. The device includes a first sending module, an acquiring module, and a maintenance module. In the present disclosure, a multicast group member is maintained using a flow table maintained in a switch, which decreases load of a controller, and improves processing efficiency of maintaining, by the controller, the multicast group member.
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 method executed by a control device in a software defined network where, according to the method, after establishing a control channel with a switching device, the control device obtains an identifier of the control channel. Then, the control device generates a flow entry, where the flow entry includes a match field and the identifier of the control channel. Further, the control device sends the flow entry to the switching device, where the flow entry is used to instruct the switching device to send, to the control device using the control channel represented by the identifier of the control channel, a data packet that matches the match field. Hence, classification of a new flow is completed on a switching device side.
Abstract:
A method executed by a control device in a software defined network where, according to the method, after establishing a control channel with a switching device, the control device obtains an identifier of the control channel. Then, the control device generates a flow entry, where the flow entry includes a match field and the identifier of the control channel. Further, the control device sends the flow entry to the switching device, where the flow entry is used to instruct the switching device to send, to the control device using the control channel represented by the identifier of the control channel, a data packet that matches the match field. Hence, classification of a new flow is completed on a switching device side.