Abstract:
A topological learning method and apparatus for an OPENFLOW network cross a conventional Internet Protocol (IP) network. The method includes obtaining, by a controller, M OPENFLOW switch (OFS) ports connected to a same conventional IP network, determining whether there is a logical switch corresponding to the conventional IP network, if the controller determines that there is no logical switch corresponding to the conventional IP network, creating and storing the information about the logical switch, where the information about the logical switch includes related information of the M OFS ports, and related information of each OFS port includes link information in a direction from the port to the logical switch and/or link information in a direction from the logical switch to the port, and managing, by the controller, the logical switch as a common OPENFLOW switch of an OPENFLOW network.
Abstract:
A topological learning method and apparatus for an OPENFLOW network cross a conventional Internet Protocol (IP) network. The method includes obtaining, by a controller, M OPENFLOW switch (OFS) ports connected to a same conventional IP network, determining whether there is a logical switch corresponding to the conventional IP network, if the controller determines that there is no logical switch corresponding to the conventional IP network, creating and storing the information about the logical switch, where the information about the logical switch includes related information of the M OFS ports, and related information of each OFS port includes link information in a direction from the port to the logical switch and/or link information in a direction from the logical switch to the port, and managing, by the controller, the logical switch as a common OPENFLOW switch of an OPENFLOW network.
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 routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
Abstract:
A routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
Abstract:
A routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
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.