CN103618621A - Method, device and system for automatic configuration of SDN - Google Patents
Method, device and system for automatic configuration of SDN Download PDFInfo
- Publication number
- CN103618621A CN103618621A CN201310594163.2A CN201310594163A CN103618621A CN 103618621 A CN103618621 A CN 103618621A CN 201310594163 A CN201310594163 A CN 201310594163A CN 103618621 A CN103618621 A CN 103618621A
- Authority
- CN
- China
- Prior art keywords
- controller
- switch
- request
- address
- arbitrary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a method, device and system for automatic configuration of an SDN. The method, device and system are used for improving the configuration efficiency of controllers of a switch. The method includes the steps that when it is determined that any one of the controllers becomes a master controller, an IP address which needs to be used when any one of the controllers becomes the master controller is started; when any one of the controllers receives a distribution controller request which is sent by any switch when the IP address is used as a destination address, the controllers which are assigned to the switch are determined, and the information used for indicating the controllers assigned to the switch is sent to the switch.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method of automatic configuration, equipment and system of software defined network.
Background technology
Software defined network (Software Defined Network, SDN), it is a kind of new network framework, its core technology open flows (OpenFlow) is by separating network equipment chain of command and data surface, realized the flexible control of network traffics, for the innovation of core network and application provides good platform.
Each OpenFlow switch (switch) has a stream table (flow table), for carrying out packet, searches and forwards.Switch can be connected to outside controller (controller) through an escape way (secure channel) by OpenFlow agreement, and convection current table is inquired about and managed, as shown in Figure 1.
When switch on being connected to controller is too much, can bring very large performance pressure to controller, with Time Controller, can become the bottleneck of whole system environment.A kind of typical solution is, a lot of controllers are formed to a distributed type colony (cluster), each switch is linked on the different controllers in cluster, can reduce like this performance pressure of single controller, and controller itself can not become the bottleneck of whole system.In controller cluster, have a master (leader) controller, being used for the resource, task of management cluster distributes, and other controller is subordinate (follower) controller.In addition, also needing keeper is the controller of each switch configuration access, and a kind of allocation plan is, is two controllers of each switch configuration, and one is master control (master) controller, and one is auxiliary (second) controller; As shown in Figure 2, be the controller configuration schematic diagram of switch.Switch and two controllers keep connection status always, but only have master control controller just to do service interaction with switch, when master control controller failure, and the service interaction of pilot controller adapter and switch.
For keeper, need to know the information of each controller in controller cluster, and determine which controller of each switch configuration according to the situation of each controller.When controller in cluster is many, allocative efficiency is low.
Summary of the invention
The embodiment of the present invention provides a kind of method of automatic configuration, equipment and system of software defined network, the low problem of allocative efficiency while being manually switch configuration controller in order to solve.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, a kind of method of automatic configuration of software defined network, comprising:
Arbitrary controller is determined when self becomes master controller, enables the IP address for using when arbitrary controller becomes master controller;
When described arbitrary controller receives the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
In conjunction with first aspect, in the possible implementation of the first, described arbitrary controller is determined the controller of distributing to this switch, comprising:
Described arbitrary controller is determined the load state of current each controller;
Described arbitrary controller, according to the load state of described current each controller, is determined the controller of distributing to this switch.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, described in distribute to the controller of this switch, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
In conjunction with first aspect, in the third possible implementation, the request of the dispensing controller that desampler sends, comprising:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
In conjunction with first aspect, in the 4th kind of possible implementation, the method also comprises:
Described arbitrary controller is determined when self becomes slave controller, the described IP address of stopping using.
In conjunction with first aspect, in the 5th kind of possible implementation, the method also comprises:
Described arbitrary controller receives the controller management message that application layer equipment sends described IP address as destination address.
Second aspect, a kind of method of automatic configuration of software defined network, comprising:
Switch sends the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller;
Described switch receives the message that is used to indicate the controller of distributing to described switch that arbitrary controller that becomes master controller returns;
Described switch, according to the message receiving, configures the controller that described master controller distributes.
In conjunction with second aspect, in the possible implementation of the first, described switch sends the request of dispensing controller, comprising:
Described switch sends the request of dispensing controller when initial access; Or,
Described switch is determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
The third aspect, a kind of controller equiment, comprising:
IP enables unit in address, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller;
Distribute indicating member, for when receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
In conjunction with the third aspect, in the possible implementation of the first, when described distribution indicating member is distributed to the controller of this switch for determining, specifically for:
Determine the load state of current each controller;
According to the load state of described current each controller, determine the controller of distributing to this switch.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, in the possible implementation of the second, the controller of distributing to this switch that described distribution indicating member is determined, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
In conjunction with the third aspect, in the third possible implementation, during the request of the dispensing controller that described distribution indicating member sends for desampler, specifically for:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
In conjunction with the third aspect, in the 4th kind of possible implementation, this equipment also comprises:
IP address deactivated cell, while self becoming slave controller for determining, the described IP address of stopping using.
In conjunction with the third aspect, in the 5th kind of possible implementation, this equipment also comprises:
Application layer communication unit, the controller management message sending described IP address as destination address for receiving application layer equipment.
Fourth aspect, a kind of switch device, comprising:
Request transmitting unit, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller;
Message sink unit, the message that is used to indicate the controller of distributing to this switch of returning for receiving arbitrary controller that becomes master controller;
Dispensing unit, for according to the message receiving, configures the controller that described master controller distributes.
In conjunction with fourth aspect, in the possible implementation of the first, described request transmitting element, specifically for:
When initial access, send the request of dispensing controller; Or,
Determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
The 5th aspect, a kind of controller equiment, comprising:
Processor, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller; When receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch;
Transmitting device, for receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, and sends the message that is used to indicate the controller of distributing to this switch to this switch.
In conjunction with the 5th aspect, in the possible implementation of the first, when described processor is distributed to the controller of this switch for determining, specifically for:
Determine the load state of current each controller;
According to the load state of described current each controller, determine the controller of distributing to this switch.
In conjunction with the possible implementation of the first of the 5th aspect or the 5th aspect, in the possible implementation of the second, the controller of distributing to this switch that described processor is determined, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
In conjunction with the 5th aspect, in the third possible implementation, during the request of the dispensing controller that described transmitting device sends for desampler, specifically for:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
In conjunction with the 5th aspect, in the 4th kind of possible implementation, described processor is also for determining while self becoming slave controller, the described IP address of stopping using.
In conjunction with the 5th aspect, in the 5th kind of possible implementation, the controller management message that described transmitting device also sends described IP address as destination address for receiving application layer equipment.
The 6th aspect, a kind of switch device, comprising:
Transmitting device, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller; Receive the message that is used to indicate the controller of distributing to this switch that arbitrary controller that becomes master controller returns;
Processor, for according to the message receiving, configures the controller that described master controller distributes.
In conjunction with the 6th aspect, in the possible implementation of the first, when described transmitting device is used for sending the request of dispensing controller, specifically for:
When initial access, send the request of dispensing controller; Or,
Determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
The 7th aspect, a kind of software defined network system, comprising: the controller cluster being comprised of a plurality of controllers, and switch;
Described controller, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller; When receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch;
Described switch, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller; Receive the message that is used to indicate the controller of distributing to this switch that arbitrary controller that becomes master controller returns; According to the message receiving, configure the controller that described master controller distributes.
The embodiment of the present invention, arbitrary controller is determined when self becomes master controller, enables the IP address for using when arbitrary controller becomes master controller; When described arbitrary controller receives the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.By the IP address of default master controller special use in software defined network, making switch to be found master controller and to be asked master controller by this IP address is own dispensing controller, solved the problem that switch cannot send request to master controller because master controller is uncertain, having realized by master controller is respective switch dispensing controller, than the method for human configuration, can complete more efficiently the controller configuration of switch.
Accompanying drawing explanation
Fig. 1 is the equipment schematic diagram of open flows technology;
Fig. 2 is the controller configuration schematic diagram of switch;
Fig. 3 is the schematic flow sheet of the method for automatic configuration of the SDN that provides of the embodiment of the present invention;
Fig. 4 is another schematic flow sheet of the method for automatic configuration of the SDN that provides of the embodiment of the present invention;
Fig. 5 is the deployment schematic flow sheet of the SDN environment that provides of the embodiment of the present invention;
Fig. 6 is the message flow schematic diagram of switch and controller in the SDN that provides of the embodiment of the present invention;
Fig. 7 is the controller allocation result schematic diagram that the embodiment of the present invention provides;
Fig. 8 is the schematic flow sheet re-electing of the controller that provides of the embodiment of the present invention;
Fig. 9 is the troubleshooting process schematic diagram of the controller that provides of the embodiment of the present invention;
Figure 10 is the structural representation of the controller equiment that provides of the embodiment of the present invention;
Figure 11 is the structural representation of the switch device that provides of the embodiment of the present invention;
Figure 12 is another structural representation of the control appliance that provides of the embodiment of the present invention;
Figure 13 is another structural representation of the switch device that provides of the embodiment of the present invention;
Figure 14 is the structural representation of the SDN system that provides of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides method of automatic configuration, the equipment and system of a kind of software defined network SDN, for improving the controller allocative efficiency of switch.
Referring to Fig. 3, the method for automatic configuration of a kind of SDN that the embodiment of the present invention provides, comprising:
S301, arbitrary controller are determined when self becomes master controller, enable the IP address for using when arbitrary controller becomes master controller.
Concrete, controller, according to the indication of controller cluster management software, is determined and self is become master control or slave controller.The controller cluster management software zookeeper by name using at present, for managing controller cluster.Each controller is preinstalled with zookeeper, between controller, by zookeeper, conducts an election to determine master controller and slave controller.
In each controller, be provided with an identical IP address in advance, this IP address is only used when controller is elected as master controller, when being slave controller, do not use by controller this IP address, simultaneously, respective switch also can pre-configured this IP address, like this, no matter which controller is master controller, switch can both send message to master controller by this IP address, and foundation contacts with master controller.
S302, when described arbitrary controller receives the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
Concrete, master controller is when receiving the request of the dispensing controller that switch sends, can get by analysis request message the IP address of transmit leg switch, after determining and distributing to the controller of this switch, pass through the IP address of obtained transmit leg switch allocation result is indicated to this switch.
The embodiment of the present invention, having realized by master controller is respective switch dispensing controller automatically, has promoted the allocative efficiency of switch.For the switch that does not send dispensing controller request, may not start, also may be assigned to controller, master controller does not need to distribute.
Preferably, arbitrary controller described in step S302 is determined the controller of distributing to this switch, comprising: described arbitrary controller is determined the load state of current each controller; Described arbitrary controller, according to the load state of described current each controller, is determined the controller of distributing to this switch.According to the load state of controller, be switch dispensing controller, load that can balanced each controller, efficent use of resources, improves network operating efficiency.A kind of possible concrete method of salary distribution is, according to the number of the switch of the current management of controller, determine the distribution priority of each controller, wherein, the distribution priority of the controller of the minimum number of the switch of current management is the highest, according to distributing priority, is switch dispensing controller.
Preferably, the controller of distributing to this switch of determining in step S302, comprise: distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.For switch distributes two controllers, are a kind of typical allocative decisions, but the embodiment of the present invention also can be distributed a controller or two above controllers for switch.
Preferably, the request of the dispensing controller that in step S302, desampler sends, comprising: the request of the dispensing controller that desampler sends when first access; Or, the request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.Switch, when initial access SDN network, does not configure any controller, to master controller request dispensing controller; When switch is in running, while finding that the controller having distributed successively lost efficacy, again to master controller request dispensing controller.Visible, by master controller, be the method for switch dispensing controller, than being manually the method for switch configuration controller, when all breaking down, processes by the controller that can distribute at switch in time, efficiency is higher, and network fault tolerance ability is stronger, has promoted the robustness of SDN.
Preferably, the method also comprises: described arbitrary controller is determined when self becomes slave controller, the described IP address of stopping using.Concrete, controller determines that self becomes slave controller when definite self breaking down, or controller determines that according to the indication of described controller cluster management software self becomes slave controller.The scene of using zookeeper to carry out controller cluster management of take is example, interactive information between the zookeeper software of each controller, determine that former master controller loses the support of most of controllers, or determine that former master controller breaks down out of touch, again initiate election and determine new master controller, new definite master controller is enabled the IP address that master controller need to use, and former master controller becomes slave controller, does not re-use this IP address.Like this, all controllers can be regarded an integral body as, and the variation of master controller is sightless to switch, and switch does not need because any operation is carried out in master controller change, IP address and the master controller that still by master controller, need to use communicate, and have promoted the operating efficiency of network.
Preferably, the method also comprises: described arbitrary controller receives the controller management message that application layer equipment sends described IP address as destination address.Application layer equipment is for issuing stream table to controller, the stream table of controller managed etc., and master controller is configured, is managed, and therefore, application layer equipment needs can determine master controller and communicate by letter with master controller.Similar with switch, in application layer equipment, be provided with the IP address that master controller need to use in advance, application layer equipment can communicate by this IP address and master controller, the election results of master controller and the change of master controller can not produce any impact to application layer equipment, have promoted the operating efficiency of network.
Referring to Fig. 4, the method for automatic configuration of a kind of SDN that the embodiment of the present invention provides, comprising:
S401, switch send the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller.
S402, described switch receive the message that is used to indicate the controller of distributing to described switch that arbitrary controller that becomes master controller returns.
S403, described switch, according to the message receiving, configure the controller that described master controller distributes.
Like this, by master controller, be switch dispensing controller automatically, than manually input the controller of this switch configuration in switch, promoted the allocative efficiency of switch.
Preferably, distribute to the controller of switch, comprising: master control controller and pilot controller; Pilot controller, for when master control controller failure, is taken over master control controller this switch is managed.
Preferably, switch sends the request of dispensing controller, comprising:
Switch sends the request of dispensing controller when initial access; Or,
Switch is determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
Below in conjunction with concrete application scenarios, the method that the embodiment of the present invention is provided describes.
In order to apply the method that the embodiment of the present invention provides in existing SDN, on each controller, configured an identical IP address that is called unsteady (floating) IP, and be the corresponding program of switch dispensing controller while having added as master controller, on each switch, add an agency (agent) program, for carrying out controller to master controller, distribute relevant communication, in Agent, also need pre-configured floating IP address.In arbitrary moment, in SDN, only there is master controller using floating IP address.
Referring to Fig. 5, the deployment flow process of SDN environment comprises:
S501, at application layer equipment, application level function software is installed, and the Floating IP address information of Configuration Control Unit is for follow-up business communication;
S502, at each controller, controller function software is installed, and for each controller configures same Floating IP address, initially Floating IP address is unused state for pushing (down) state;
S503, installation zookeeper, start Management Controller cluster after zookeeper operation;
S504, zookeeper initiate master controller election, and the Floating IP address of master controller is that pull-up (up) state is used state, and the Floating IP address of slave controller remains down state;
S505, at each switch, switch function software is installed, and in the Agent of switch, is configured the information of Floating IP address;
S506, switch trigger Floating IP address and the controller trunking communication of Agent utilization configuration, obtain the information of the controller that needs access;
S507, master controller are received after the request that Agent sends, and are that switch distributes the controller that needs access;
S508, Agent receive the information of returning, and are switch configuration controller.
Referring to Fig. 6, it is the message flow schematic diagram of switch and controller in SDN; Agent is used Floating IP address to master controller request, to distribute the controller of access, the controller that master controller indication switch configuration is distributed, and allocation result is as shown in Figure 7.
Referring to Fig. 8, the flow process re-electing of controller cluster comprises:
S801, master controller fault or lose most of slave controller supports;
S802, zookeeper initiate master controller and re-elect;
S803, new master controller Floating IP address transfer up state to, and former master controller becomes slave controller, and Floating IP address transfers down state to.
Referring to Fig. 9, the troubleshooting process of the controller that switch connects comprises:
S901, network failure or master control controller process are abnormal, and switch is determined the disconnecting with master control controller;
S902, switch are switched to and on pilot controller, carry out Business Processing;
S903, network failure or pilot controller process exception, switch is determined the disconnecting with pilot controller;
S904, controller trigger Agent and communicate by letter with the master controller in controller cluster by Floating IP address, again obtain the controller information of access;
S905, master controller are the controller that switch is redistributed access.
A kind of controller equiment providing referring to Figure 10, the embodiment of the present invention comprises:
IP enables address unit 1001, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller;
Distribute indicating member 1002, for when receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
Preferably, when described distribution indicating member 1002 is distributed to the controller of this switch for determining, specifically for:
Determine the load state of current each controller;
According to the load state of described current each controller, determine the controller of distributing to this switch.
Preferably, the controller of distributing to this switch that described distribution indicating member 1002 is determined, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
Preferably, during the request of the dispensing controller that described distribution indicating member 1002 sends for desampler, specifically for:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
Preferably, this equipment also comprises:
IP address deactivated cell, while self becoming slave controller for determining, the described IP address of stopping using.
Preferably, this equipment also comprises:
Application layer communication unit, the controller management message sending described IP address as destination address for receiving application layer equipment.
It should be noted that, the controller equiment of this embodiment is for realizing above-mentioned steps S301-S302, the above-mentioned controller equiment that the explanation of method and restriction is equally applicable to the present embodiment.
Referring to Figure 11, a kind of switch device that the embodiment of the present invention provides comprises:
Preferably, the indicated controller of distributing to this switch of message that described message sink unit 1102 receives, comprising:
Master control controller and pilot controller; Pilot controller, for when master control controller failure, is taken over master control controller this switch is managed.
Preferably, described request transmitting element 1101, specifically for:
When initial access, send the request of dispensing controller; Or,
Determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
It should be noted that, the switch device of this embodiment is for realizing above-mentioned steps S401-S403, the above-mentioned switch device that the explanation of method and restriction is equally applicable to the present embodiment.
Referring to Figure 12, a kind of controller equiment that the embodiment of the present invention provides comprises:
Transmitting device 1202, for receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, and sends the message that is used to indicate the controller of distributing to this switch to this switch.
Preferably, when described processor 1201 is distributed to the controller of this switch for determining, specifically for:
Determine the load state of current each controller;
According to the load state of described current each controller, determine the controller of distributing to this switch.
Preferably, the controller of distributing to this switch that described processor 1201 is determined, comprising:
Distribute to master control controller and the pilot controller of this switch, pilot controller, for when master control controller failure, is taken over master control controller this switch is managed.
Preferably, during the request of the dispensing controller that described transmitting device 1202 sends for desampler, specifically for:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
Preferably, described processor 1201 is also for determining while self becoming slave controller, the described IP address of stopping using.
Preferably, the controller management message that described transmitting device 1202 also sends described IP address as destination address for receiving application layer equipment.
Referring to Figure 13, a kind of switch device that the embodiment of the present invention provides, comprising:
Transmitting device 1301, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller; Receive the message that is used to indicate the controller of distributing to this switch that arbitrary controller that becomes master controller returns;
Preferably, the indicated controller of distributing to this switch of message that described transmitting device 1301 receives, comprising:
Master control controller and pilot controller; Pilot controller, for when master control controller failure, is taken over master control controller this switch is managed.
Preferably, described transmitting device 1301 when sending the request of dispensing controller, specifically for:
When initial access, send the request of dispensing controller; Or,
Determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
Referring to Figure 14, a kind of SDN system that the embodiment of the present invention provides, comprising: the controller cluster being comprised of a plurality of controllers 1401, and switch 1402;
Described controller 1401, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller; When receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch;
Described switch 1402, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller; Receive the message that is used to indicate the controller of distributing to this switch that arbitrary controller that becomes master controller returns; According to the message receiving, configure the controller that described master controller distributes.
In sum, the embodiment of the present invention provides method of automatic configuration, the equipment and system of a kind of SDN, by the default IP of definition in network, make controller cluster is an integral body for application layer equipment and switch, which controller application layer equipment and switch do not need to distinguish is master controller, having realized by master controller is respective switch dispensing controller automatically, has promoted the allocative efficiency of switch, has promoted the robustness of system; And when master controller changes, application layer equipment and switch are unaffected, have improved network efficiency.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (17)
1. a method of automatic configuration of software defined network SDN, is characterized in that, the method comprises:
Arbitrary controller is determined when self becomes master controller, enables the IP address for using when arbitrary controller becomes master controller;
When described arbitrary controller receives the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
2. the method for claim 1, is characterized in that, described arbitrary controller is determined the controller of distributing to this switch, comprising:
Described arbitrary controller is determined the load state of current each controller;
Described arbitrary controller, according to the load state of described current each controller, is determined the controller of distributing to this switch.
3. method as claimed in claim 1 or 2, is characterized in that, described in distribute to the controller of this switch, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
4. the method for claim 1, is characterized in that, the request of the dispensing controller that desampler sends, comprising:
The request of the dispensing controller that desampler sends when first access; Or,
The request of the dispensing controller that desampler sends when determining that the controller being assigned to all lost efficacy.
5. the method for claim 1, is characterized in that, the method also comprises:
Described arbitrary controller is determined when self becomes slave controller, the described IP address of stopping using.
6. the method for claim 1, is characterized in that, the method also comprises:
Described arbitrary controller receives the controller management message that application layer equipment sends described IP address as destination address.
7. a method of automatic configuration of software defined network SDN, is characterized in that, the method comprises:
Switch sends the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller;
Described switch receives the message that is used to indicate the controller of distributing to described switch that arbitrary controller that becomes master controller returns;
Described switch, according to the message receiving, configures the controller that described master controller distributes.
8. method as claimed in claim 7, is characterized in that, described switch sends the request of dispensing controller, comprising:
Described switch sends the request of dispensing controller when initial access; Or,
Described switch is determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
9. a controller equiment, is characterized in that, this equipment comprises:
IP enables unit in address, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller;
Distribute indicating member, for when receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch.
10. equipment as claimed in claim 9, is characterized in that, when described distribution indicating member is distributed to the controller of this switch for determining, specifically for:
Determine the load state of current each controller;
According to the load state of described current each controller, determine the controller of distributing to this switch.
11. equipment as described in claim 9 or 10, is characterized in that, the controller of distributing to this switch that described distribution indicating member is determined, comprising:
Distribute to master control controller and the pilot controller of this switch, described pilot controller, for when described master control controller failure, is taken over described master control controller this switch is managed.
12. equipment as claimed in claim 9, is characterized in that, the request of the dispensing controller that described distribution indicating member sends for desampler comprises:
The request of the dispensing controller that described distribution indicating member desampler sends when first access; Or,
The request of the dispensing controller that described distribution indicating member desampler sends when determining that the controller being assigned to all lost efficacy.
13. equipment as claimed in claim 9, is characterized in that, this equipment also comprises:
IP address deactivated cell, while self becoming slave controller for determining, the described IP address of stopping using.
14. equipment as claimed in claim 9, is characterized in that, this equipment also comprises:
Application layer communication unit, the controller management message sending described IP address as destination address for receiving application layer equipment.
15. 1 kinds of switch devices, is characterized in that, this equipment comprises:
Request transmitting unit, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller;
Message sink unit, the message that is used to indicate the controller of distributing to this switch of returning for receiving arbitrary controller that becomes master controller;
Dispensing unit, for according to the message receiving, configures the controller that described master controller distributes.
16. equipment as claimed in claim 15, is characterized in that, described request transmitting element, specifically for:
When initial access, send the request of dispensing controller; Or,
Determining that the controller being assigned to sent the request of dispensing controller while all losing efficacy.
17. 1 kinds of software defined network SDN systems, comprising: the controller cluster being formed by a plurality of controllers, and switch, it is characterized in that,
Described controller, while self becoming master controller for determining, enables the IP address for using when arbitrary controller becomes master controller; When receiving the request of the dispensing controller that arbitrary switch sends described IP address as destination address, determine the controller of distributing to this switch, and send to this switch the message that is used to indicate the controller of distributing to this switch;
Described switch, for sending the request of dispensing controller, the IP address of the destination address carrying in this request message for using when arbitrary controller becomes master controller; Receive the message that is used to indicate the controller of distributing to this switch that arbitrary controller that becomes master controller returns; According to the message receiving, configure the controller that described master controller distributes.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310594163.2A CN103618621B (en) | 2013-11-21 | 2013-11-21 | A kind of software defined network SDN method of automatic configuration, equipment and system |
PCT/CN2014/078472 WO2015074396A1 (en) | 2013-11-21 | 2014-05-27 | Automatic configuration method, device and system of software defined network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310594163.2A CN103618621B (en) | 2013-11-21 | 2013-11-21 | A kind of software defined network SDN method of automatic configuration, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103618621A true CN103618621A (en) | 2014-03-05 |
CN103618621B CN103618621B (en) | 2017-08-11 |
Family
ID=50169325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310594163.2A Active CN103618621B (en) | 2013-11-21 | 2013-11-21 | A kind of software defined network SDN method of automatic configuration, equipment and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103618621B (en) |
WO (1) | WO2015074396A1 (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
CN104092560A (en) * | 2014-06-10 | 2014-10-08 | 深圳市腾讯计算机系统有限公司 | Method and system for realizing clustering by connecting switch with controller, switch, and controller |
CN104104572A (en) * | 2014-07-15 | 2014-10-15 | 杭州华三通信技术有限公司 | Automatic deploying method and device for switch in SDN network |
CN104579801A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN104579975A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
WO2015074396A1 (en) * | 2013-11-21 | 2015-05-28 | 华为技术有限公司 | Automatic configuration method, device and system of software defined network |
WO2015154483A1 (en) * | 2014-09-03 | 2015-10-15 | 中兴通讯股份有限公司 | Network traffic balancing method and super controller |
CN105049549A (en) * | 2015-08-07 | 2015-11-11 | 北京思特奇信息技术股份有限公司 | Method and system for realizing automatic drift of floating IP (Internet Protocol) address |
WO2016065925A1 (en) * | 2014-10-29 | 2016-05-06 | 中兴通讯股份有限公司 | Controller replacing method and device |
CN105814844A (en) * | 2014-11-17 | 2016-07-27 | 华为技术有限公司 | Switch port control method, apparatus and system |
CN106936608A (en) * | 2015-12-29 | 2017-07-07 | 华为技术有限公司 | A kind of method for setting up SSH connections, relevant device and system |
CN107294773A (en) * | 2017-05-30 | 2017-10-24 | 浙江工商大学 | A kind of Network collocation method of software definable |
CN107395439A (en) * | 2017-08-24 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of network collocating method, device and controller |
CN107809495A (en) * | 2016-09-09 | 2018-03-16 | 华为技术有限公司 | Address management method and device |
CN108199890A (en) * | 2018-01-11 | 2018-06-22 | 重庆邮电大学 | A kind of software defined network resilient controller dispositions method |
CN108737125A (en) * | 2017-04-13 | 2018-11-02 | 国网信息通信产业集团有限公司 | A kind of more control domain communication means of SDN network and system |
CN110391929A (en) * | 2018-04-23 | 2019-10-29 | 深圳市格瑞信息科技有限公司 | A kind of fault tolerant control method, device and fault-tolerant component |
CN110838935A (en) * | 2018-08-15 | 2020-02-25 | 上海宽带技术及应用工程研究中心 | High-availability SDN controller clustering method, system, storage medium and equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430116B (en) * | 2015-11-30 | 2019-03-01 | 北京邮电大学 | A kind of method and device for establishing control channel |
US11075803B1 (en) * | 2020-06-02 | 2021-07-27 | Cisco Technology, Inc. | Staging configuration changes with deployment freeze options |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852502A (en) * | 2006-05-29 | 2006-10-25 | 杭州华为三康技术有限公司 | Method for realizing load uniform in clustering system, system and storage controller |
CN101355521A (en) * | 2008-09-12 | 2009-01-28 | 北京星网锐捷网络技术有限公司 | Control method for equalizing load, communication apparatus and communication system |
US20110299402A1 (en) * | 2010-06-07 | 2011-12-08 | Brocade Communications Systems, Inc. | Advanced link tracking for virtual cluster switching |
CN102640464A (en) * | 2009-11-26 | 2012-08-15 | 日本电气株式会社 | Load distribution system, load distribution method, and program |
CN102882719A (en) * | 2012-09-26 | 2013-01-16 | 盛科网络(苏州)有限公司 | Method and system for implementation of redundant backup of controllers in Openflow switch system |
CN103269278A (en) * | 2013-04-19 | 2013-08-28 | 中国(南京)未来网络产业创新中心 | Terminal equipment real-time connecting and disconnecting sensing method based on SDN |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9043452B2 (en) * | 2011-05-04 | 2015-05-26 | Nicira, Inc. | Network control apparatus and method for port isolation |
CN103067534B (en) * | 2012-12-26 | 2016-09-28 | 中兴通讯股份有限公司 | A kind of NAT realizes system, method and Openflow switch |
CN103209121B (en) * | 2013-03-15 | 2019-02-01 | 中兴通讯股份有限公司 | The discovery processing method and processing device of control plane equipment based on open flow agreement |
CN103618621B (en) * | 2013-11-21 | 2017-08-11 | 华为技术有限公司 | A kind of software defined network SDN method of automatic configuration, equipment and system |
-
2013
- 2013-11-21 CN CN201310594163.2A patent/CN103618621B/en active Active
-
2014
- 2014-05-27 WO PCT/CN2014/078472 patent/WO2015074396A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852502A (en) * | 2006-05-29 | 2006-10-25 | 杭州华为三康技术有限公司 | Method for realizing load uniform in clustering system, system and storage controller |
CN101355521A (en) * | 2008-09-12 | 2009-01-28 | 北京星网锐捷网络技术有限公司 | Control method for equalizing load, communication apparatus and communication system |
CN102640464A (en) * | 2009-11-26 | 2012-08-15 | 日本电气株式会社 | Load distribution system, load distribution method, and program |
US20110299402A1 (en) * | 2010-06-07 | 2011-12-08 | Brocade Communications Systems, Inc. | Advanced link tracking for virtual cluster switching |
CN102882719A (en) * | 2012-09-26 | 2013-01-16 | 盛科网络(苏州)有限公司 | Method and system for implementation of redundant backup of controllers in Openflow switch system |
CN103269278A (en) * | 2013-04-19 | 2013-08-28 | 中国(南京)未来网络产业创新中心 | Terminal equipment real-time connecting and disconnecting sensing method based on SDN |
Non-Patent Citations (1)
Title |
---|
ADVAIT DIXIT等: "Towards an Elastic Distributed SDN Controller", 《HOTSDN》 * |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015074396A1 (en) * | 2013-11-21 | 2015-05-28 | 华为技术有限公司 | Automatic configuration method, device and system of software defined network |
CN104092560A (en) * | 2014-06-10 | 2014-10-08 | 深圳市腾讯计算机系统有限公司 | Method and system for realizing clustering by connecting switch with controller, switch, and controller |
CN104104572A (en) * | 2014-07-15 | 2014-10-15 | 杭州华三通信技术有限公司 | Automatic deploying method and device for switch in SDN network |
CN104104572B (en) * | 2014-07-15 | 2017-12-08 | 新华三技术有限公司 | Interchanger automatic deployment method and device in a kind of SDN |
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
WO2015154483A1 (en) * | 2014-09-03 | 2015-10-15 | 中兴通讯股份有限公司 | Network traffic balancing method and super controller |
WO2016065925A1 (en) * | 2014-10-29 | 2016-05-06 | 中兴通讯股份有限公司 | Controller replacing method and device |
CN105634765A (en) * | 2014-10-29 | 2016-06-01 | 中兴通讯股份有限公司 | Controller replacement method and controller replacement device |
CN105814844B (en) * | 2014-11-17 | 2019-08-16 | 华为技术有限公司 | Switch port control method, apparatus and system |
CN105814844A (en) * | 2014-11-17 | 2016-07-27 | 华为技术有限公司 | Switch port control method, apparatus and system |
CN104579801A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN104579975A (en) * | 2015-02-10 | 2015-04-29 | 广州市品高软件开发有限公司 | Method for dispatching software-defined network controller cluster |
CN104579975B (en) * | 2015-02-10 | 2018-01-05 | 广州市品高软件股份有限公司 | A kind of dispatching method of software defined network controller cluster |
CN104579801B (en) * | 2015-02-10 | 2018-01-16 | 广州市品高软件股份有限公司 | A kind of dispatching method of software defined network controller cluster |
CN105049549A (en) * | 2015-08-07 | 2015-11-11 | 北京思特奇信息技术股份有限公司 | Method and system for realizing automatic drift of floating IP (Internet Protocol) address |
CN105049549B (en) * | 2015-08-07 | 2018-12-28 | 北京思特奇信息技术股份有限公司 | A kind of method and system for realizing floating IP address automatic drift |
CN106936608A (en) * | 2015-12-29 | 2017-07-07 | 华为技术有限公司 | A kind of method for setting up SSH connections, relevant device and system |
CN106936608B (en) * | 2015-12-29 | 2020-09-18 | 华为技术有限公司 | Method, related equipment and system for establishing SSH connection |
CN107809495A (en) * | 2016-09-09 | 2018-03-16 | 华为技术有限公司 | Address management method and device |
CN108737125A (en) * | 2017-04-13 | 2018-11-02 | 国网信息通信产业集团有限公司 | A kind of more control domain communication means of SDN network and system |
CN108737125B (en) * | 2017-04-13 | 2021-06-29 | 国网信息通信产业集团有限公司 | SDN network multi-control-domain communication method and system |
CN107294773B (en) * | 2017-05-30 | 2020-01-31 | 浙江工商大学 | software definable network service configuration method |
CN107294773A (en) * | 2017-05-30 | 2017-10-24 | 浙江工商大学 | A kind of Network collocation method of software definable |
CN107395439A (en) * | 2017-08-24 | 2017-11-24 | 郑州云海信息技术有限公司 | A kind of network collocating method, device and controller |
CN108199890A (en) * | 2018-01-11 | 2018-06-22 | 重庆邮电大学 | A kind of software defined network resilient controller dispositions method |
CN110391929A (en) * | 2018-04-23 | 2019-10-29 | 深圳市格瑞信息科技有限公司 | A kind of fault tolerant control method, device and fault-tolerant component |
CN110391929B (en) * | 2018-04-23 | 2022-07-26 | 深圳市格瑞信息科技有限公司 | Fault-tolerant control method and device and fault-tolerant component |
CN110838935A (en) * | 2018-08-15 | 2020-02-25 | 上海宽带技术及应用工程研究中心 | High-availability SDN controller clustering method, system, storage medium and equipment |
CN110838935B (en) * | 2018-08-15 | 2023-01-03 | 上海宽带技术及应用工程研究中心 | High-availability SDN controller clustering method, system, storage medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2015074396A1 (en) | 2015-05-28 |
CN103618621B (en) | 2017-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103618621A (en) | Method, device and system for automatic configuration of SDN | |
EP3016316B1 (en) | Network control method and apparatus | |
CN107924383B (en) | System and method for network function virtualized resource management | |
EP2993838B1 (en) | Methods for setting a member identity of gateway device and corresponding management gateway devices | |
RU2016116861A (en) | FLEXIBLE DETERMINED COMMUNICATION NETWORK | |
CN104104572A (en) | Automatic deploying method and device for switch in SDN network | |
CN107005452B (en) | Network function virtualization resource processing method and virtual network function manager | |
EP3132567B1 (en) | Event processing in a network management system | |
CN103973809B (en) | A kind of data distributing method and system | |
CN104468633A (en) | SDN southing security proxy product | |
WO2016018321A1 (en) | Network resource allocation proposals | |
JP5647561B2 (en) | Power system supervisory control system | |
CN107925684A (en) | The IP address distribution method of master-slave type network, apparatus and system | |
KR20150094239A (en) | Data processing system changing massive path time-deterministically and operating method of the system | |
CN104518995B (en) | Interchanger virtualization system based on distributed structure/architecture | |
CN102571595B (en) | Route forwarding information synchronizing method and device of stack system | |
CN105491061A (en) | Access control system and method | |
CN101510880A (en) | Streaming media system, device and method | |
US20150138979A1 (en) | Network management control device, network management control system, and network management control method | |
CN104980287A (en) | Multicast group distribution method and multicast management node | |
CN102546313A (en) | Multi-activation detection method and multi-activation detection device | |
CN114124902A (en) | Multi-activation detection method and system | |
CN105591780B (en) | Cluster monitoring method and equipment | |
CN106357429B (en) | A kind of data processing method and system | |
US20160308787A1 (en) | Method for processing event between controller and network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220217 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after: Huawei Cloud Computing Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |