WO2015106506A1 - Procédés de configuration d'informations de commande et d'établissement de communication, organe de commande de gestion et organe de commande - Google Patents

Procédés de configuration d'informations de commande et d'établissement de communication, organe de commande de gestion et organe de commande Download PDF

Info

Publication number
WO2015106506A1
WO2015106506A1 PCT/CN2014/076687 CN2014076687W WO2015106506A1 WO 2015106506 A1 WO2015106506 A1 WO 2015106506A1 CN 2014076687 W CN2014076687 W CN 2014076687W WO 2015106506 A1 WO2015106506 A1 WO 2015106506A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
forwarding device
network
information
management
Prior art date
Application number
PCT/CN2014/076687
Other languages
English (en)
Chinese (zh)
Inventor
叶位彬
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015106506A1 publication Critical patent/WO2015106506A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a configuration, a connection method, a management controller, and a controller in a software-defined network. Background technique
  • SDN Software Defined Network
  • the typical architecture of SDN is divided into three layers, the uppermost layer is the application layer, including various services and applications; the middle control layer is mainly responsible for processing the data plane resources, maintaining network topology, state information, etc.; the lowest infrastructure The layer is responsible for data processing, forwarding, and state collection based on flowtables.
  • the control and forwarding of traffic depend on the implementation of the network device, and the operating system and dedicated hardware tightly coupled with the service characteristics are integrated in the device. These operating systems and dedicated hardware are developed and designed by each manufacturer. .
  • the forwarding device is only responsible for pure data forwarding, and its hardware architecture will tend to be unified, and its components tend to be generalized among various vendors.
  • the original control plane responsible for routing, security, policy, QoS, traffic engineering, etc. will be implemented by a dedicated SDN controller. Service functions and features such as routing, security, policy, QoS, and traffic engineering can be implemented programmatically.
  • the SDN controller has no fixed requirements for the hardware form. It can be a device, a virtual machine or a physical server.
  • the protocol for communication between the forwarding device and the SDN controller is generally the OpenFlow protocol.
  • the forwarding device establishes a connection with the controller and transmits the information using the OpenFlow protocol.
  • a forwarding device can establish connections with multiple controllers. These controllers have different roles and can be classified into three types: MASTER, SLAVE, and EQUAL.
  • MASTER has forwarding The full control authority of the device. For a forwarding device, the MASTER controller is unique. SLAVE has read-only access and can have multiple controllers for this identity. EQUAL, with full control of the forwarding device, can have multiple controllers for this identity. It can be seen that there is a management relationship between the controller and the forwarding device. The so-called management relationship includes: What identity is the controller connected with which forwarding devices in the network, that is, the connection between the forwarding device and the controller. Relationship and controller identity information. To illustrate in detail the management relationship between the controller and the forwarding device, an example is given below.
  • the first controller establishes a connection with the first forwarding device, and the first controller acts as the MASTER controller of the first forwarding device;
  • the second controller establishes a connection with the second forwarding device, and the second controller acts as the second forwarding device The MASTER controller;
  • the third controller establishes a connection with the third and fourth forwarding devices, and the third controller acts as the MASTER controller of the third and fourth forwarding devices.
  • the management relationship between the controller and the forwarding device is: the first controller establishes a connection with the first forwarding device as the MASTER controller; the second controller is the identity of the MASTER controller and the second forwarding device. A connection is established; the third controller establishes a connection with the third and fourth forwarding devices as the MASTER controller. Further, if the third controller is also the SALVE controller of the first forwarding device, the management relationship in the network further includes: the third controller establishes a connection with the first forwarding device as the identity of the SALVE controller.
  • the management relationship between each controller and the forwarding device is determined through election, and since each controller is in the same level relationship and operates independently, the management relationship between each controller and the forwarding device is mutually exclusive. Influential, this will result in an unreasonable management relationship between the controller and the forwarding device in the network.
  • a controller in the network has better performance, so most of the forwarding devices that pass the election determine the MASTER controller (here, the MASTER controller is used as an example, or other controllers of other identities).
  • the MASTER controller is used as an example, or other controllers of other identities.
  • Causing the controller's load to be overloaded The other controllers in the network may be in an idle state. Because the controllers operate independently, the management relationship between the controllers and the forwarding devices does not affect each other, so the controller in the overload state will always be overloaded.
  • the controller that is idle is also in an idle state. Summary of the invention
  • the embodiments of the present invention provide a method for setting control information, establishing a communication, and a management controller and a controller, thereby solving the problem that the management relationship between the controller and the forwarding device in the existing software-defined network is unreasonable.
  • An embodiment of the present invention provides a method for setting control information, including: a management controller acquiring information of a controller and a forwarding device in a network; and a management controller setting each controller to a forwarding device according to information of the controller and the forwarding device. Control information; The management controller sends control information to the corresponding controller.
  • control information comprises: management information of the forwarding device allocated by the controller to the controller; and control authority of the controller to the forwarding device assigned to the controller.
  • the management controller before the management controller acquires the information of the controller and the forwarding device in the network, the management controller further includes: the management controller establishes communication with all forwarding devices found in the network.
  • the management controller sets or updates the control information of the corresponding controller:
  • New forwarding devices and/or controllers in the network are New forwarding devices and/or controllers in the network.
  • the forwarding device and/or controller sends a fault.
  • the management controller when a new controller or a controller in the network is in an idle state, obtains information about the controller and the forwarding device in the network, including: adding a controller or being idle. Controller information; management controller setting controller control information includes: management controller adjusts existing controllers in the network according to controller and forwarding device information Control information for the forwarding device; assigning a forwarding device to the newly added controller or the controller in an idle state;
  • the management controller obtains information about the controller and the forwarding device in the network, including: adding information of the forwarding device; and managing the controller to set the controller to control the forwarding device includes: The new forwarding device specifies the controller, and is set to control the newly added forwarding device by the controller specified by the new forwarding device.
  • the management controller sets the controller's control information for the forwarding device to include: the management controller assigns a new controller to the forwarding device connected to the failed controller, and sets a new controller pair The control authority of the forwarding device to which the failed controller is connected.
  • the information of the controller in the network acquired by the management controller includes: a load condition of the controller;
  • the management controller sets the control information of the controller to the forwarding device according to the controller information, including: the management controller sets the control information of the controller to the forwarding device according to the load condition.
  • the information of each controller and the forwarding device in the network acquired by the management controller includes: a load condition of the controller and a network topology of the controller and the forwarding device in the network;
  • the management controller sets the control information of the controller to the forwarding device according to the controller and the forwarding device information.
  • the management controller includes: the management controller sets the control information of the controller to the forwarding device according to the load situation and the network topology.
  • the present invention also provides a method for establishing communication, specifically comprising: the controller transmitting its own information to the management controller;
  • the controller receives control information of the controller and the forwarding device set by the controller according to the information of the controller and the forwarding device;
  • the controller establishes communication with the corresponding forwarding device according to the control information.
  • the information sent to the management controller includes: a load condition of the controller.
  • the present invention also provides a management controller, which is applied in a software-defined network, where the management controller includes a first Ethernet port, a first memory, and a processor, where the first Ethernet port is used to acquire a controller and forward in the network.
  • the information of the device is stored in the first memory; the first memory is further configured to set control information of the controller to the forwarding device according to the information of the controller and the forwarding device; the first Ethernet port is further configured to send the control information to the corresponding Controller.
  • the first Ethernet port is also used to establish communication with all forwarding devices found in the network during network initialization.
  • the processor is further configured to detect whether at least a forwarding device and/or a controller is added to the network, whether the controller is in an idle state, and whether the forwarding device and/or the controller are faulty. In one case, if yes, the control information of the corresponding controller is set or updated.
  • the information of the controller and the forwarding device in the network acquired by the first Ethernet interface is: a load condition of the controller and a network topology of the controller and the forwarding device; the processor is configured to use the load according to the load The situation and the network topology set the controller's control information for the forwarding device.
  • the present invention further provides a controller, which is applied in a software-defined network, where the controller includes a second Ethernet port, and the second Ethernet port is used to send information of the controller itself to a management controller in the network;
  • the second Ethernet port is further configured to receive, by the management controller, control information of the controller to the forwarding device according to the information set by the controller and the forwarding device; the second Ethernet port is further configured to use the controller information and the corresponding forwarding device. Establish communication.
  • the controller further includes a second memory, where the second memory is used to calculate the load condition of the controller; and the information of the controller itself sent by the second Ethernet port is: the load condition of the controller .
  • the invention also provides another management controller, which includes a first Ethernet port, a first memory and a processor, the first Ethernet port is configured to acquire information of the controller and the forwarding device in the network, and is stored in the first memory; the first memory is further configured to set the controller according to the information of the controller and the forwarding device Control information for the forwarding device; the first Ethernet port is further configured to send control information to the corresponding controller.
  • another management controller which includes a first Ethernet port, a first memory and a processor, the first Ethernet port is configured to acquire information of the controller and the forwarding device in the network, and is stored in the first memory; the first memory is further configured to set the controller according to the information of the controller and the forwarding device Control information for the forwarding device; the first Ethernet port is further configured to send control information to the corresponding controller.
  • the present invention further provides another controller, the controller includes a second Ethernet port, and the second Ethernet port is configured to send information of the controller itself to a management controller in the network; the second Ethernet port further The controller is configured to receive control information of the forwarding device according to the information set by the controller and the forwarding device, and the second Ethernet port is further configured to establish communication with the corresponding forwarding device according to the controller information.
  • the beneficial effects of the invention are:
  • the invention provides a method for setting control information, establishing communication, a management controller and a controller, which can solve the problem that the management relationship between the controller and the forwarding device in the existing software-defined network is unreasonable.
  • the method provided by the present invention specifically includes: the management controller acquires information of the controller and the forwarding device in the network; the management controller sets control information of each controller to the forwarding device according to the information of the controller and the forwarding device; the management controller controls The information is sent to the corresponding controller.
  • the control information setting method provided by the present invention is to set the control information of each controller according to the acquired information of the controller and the forwarding device, and the control information is set from a macroscopic point of view, so that the forwarding device and the controller are The management relationship between the two is more reasonable.
  • FIG. 1 is a schematic structural diagram of a software-defined network in the prior art
  • FIG. 2 is a schematic structural diagram of a software definition network according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram of a software definition network according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a software definition network according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a management controller according to Embodiment 6 of the present invention
  • FIG. 6 is a schematic structural diagram of a controller according to Embodiment 7 of the present invention
  • FIG. 7 is a schematic structural diagram of a management controller according to Embodiment 8 of the present invention.
  • FIG. 8 is a schematic structural diagram of a controller according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a management controller according to an embodiment of the present invention. detailed description
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the embodiment provides a method for setting control information. As shown in FIG. 2, the method includes the following steps: Step 201: The management controller acquires information about a controller and a forwarding device in the network; Step 202: The controller is based on the controller and the forwarding device. Information, setting control information of each of the controllers on the forwarding device;
  • Step 203 The management controller sends control information to the corresponding controller.
  • the control information includes at least: information of a forwarding device allocated by the management controller to the controller; and control authority of the controller to the forwarding device assigned to the controller.
  • the information of the forwarding device allocated by the management controller to the controller includes: address information of the forwarding device.
  • the control authority of the controller to the forwarding device assigned to it is: The controller reads and writes the right to the forwarding device. For example, when the controller establishes a connection with the forwarding device as the MASTER controller, the controller has full control of the forwarding device. When the controller establishes a connection with the forwarding device as the SLAVE controller, the controller has read-only access and can have multiple controllers for this identity. When the controller establishes a connection with the forwarding device as the EQUAL controller, the controller has full control rights for the forwarding device, and multiple controllers can have this identity.
  • the management controller may allocate multiple forwarding devices to the controller.
  • the controller communicates with multiple forwarding devices, there may be a controller that is a MASTER controller for a part of the forwarding devices.
  • the identity is SLAVE Controller.
  • the controller may have different control rights for the controller with which it communicates.
  • at least one controller may be determined as a management controller from among existing controllers in the software-defined network, and at least one new controller may be re-arranged as a management controller for the network. If the management controller is determined from an existing controller in the software-defined network, at least one controller may be set as a management controller by means of artificial setting, or at least one management controller may be elected by election. .
  • Each controller has an ID number, which can be specified manually or automatically based on its address.
  • the election method is that the controllers broadcast their ID numbers to each other, and the controller with the largest ID number is automatically selected. Because each controller knows how many controllers are in the network and the addresses of those controllers, it knows when all the ID numbers have been received.
  • the management controller before the management controller acquires the information of each controller and the forwarding device in the network, the management controller first discovers the controller and the forwarding device in the network, and the forwarding device may include a switch; After the switch or controller is powered on, it will request to assign an address and send a Hello message so that the device connected to it discovers it.
  • the controller If the controller and the management controller are directly connected, after the controller is powered on, the controller requests the management controller and other devices connected to the management controller to allocate an address and send a Hello message; After receiving the message, the controller discovers the controller, thereby obtaining information of the controller from the controller.
  • the controller may send a Hello message to the management controller through the forwarding device that has established communication with the management controller, so that the management controller discovers The controller acquires information of the controller.
  • the management controller is very likely Without knowing the information of other controllers in the network, the management controller must first discover all the controllers in the network. All the controllers here refer to the controllers in the network that are working normally.
  • the management controller establishes communication with all the forwarding devices found in the network before acquiring all the controller information in the network where the network is located, so that the information of the forwarding device can be obtained from the forwarding device, and the communication is established through the communication device.
  • the forwarding device discovers other forwarding devices and controllers in the network.
  • the management controller can obtain information of all controllers and forwarding devices in the network, so that the control information of the forwarding device can be set according to the information of the forwarding device and the controller in the network.
  • the management controller when the management controller knows at least one of the following situations, the management controller configures the management relationship between the forwarding device and the controller: a new forwarding device and/or a controller in the network; There is a controller in the idle state; the forwarding device and/or controller has failed.
  • the hello can be directly sent to the management controller.
  • the management controller can be informed by the forwarding device and/or controller to which it is connected.
  • the forwarding device connected to it can inform the management controller by sending "Unable to connect to the management controller" to the management controller.
  • the management controller acquires information about the controller and the forwarding device in the network, including: adding a controller or a controller in an idle state. information.
  • the management controller sets the control information of the controller, including: the management controller adjusts control information of the existing controller in the network to the forwarding device according to the information of the controller and the forwarding device; is added to the controller or is in an idle state.
  • the controller assigns a forwarding device. Since there is only one MASTER controller for each forwarding device, if the newly added controller or the idle controller is configured as the MASTER controller to the selected forwarding device, the forwarding device must be disconnected from the previously connected MASTER controller. Communication; if the newly added controller or the idle controller is configured as a SALVE controller or an EQUAL controller to the selected forwarding device, the forwarding device can select whether to disconnect the previously connected controller according to the specific situation.
  • the management controller when the forwarding device is newly added to the network, the management controller further acquires information about the newly added forwarding device.
  • the management controller setting the controller to control the forwarding device may include: The added forwarding device specifies the controller, and is set to control the newly added forwarding device by the controller specified by the new forwarding device.
  • setting the control information of the controller to the forwarding device may include: the management controller assigning a new controller to the forwarding device connected to the failed controller, and setting a new controller pair Control authority for the forwarding device that is connected to the failed controller.
  • the controller's control right to the forwarding device When setting the controller's control right to the forwarding device, it can be set according to the control authority of the failed controller to the forwarding device.
  • the fault controller is the MASTER controller of the forwarding device
  • the controller designated by the management controller for the forwarding device has all control rights to the forwarding device and is the MASTER controller of the forwarding device.
  • the information of the controller and the forwarding device acquired by the management controller includes at least one of the following: a performance of the controller, a load condition, a network topology of the controller and the forwarding device.
  • the management controller obtains the performance information of each controller, analyzes the performance information, calculates the number of forwarding devices most suitable for the controller, and allocates the forwarding to the controller according to the calculation result. The number of devices.
  • the management controller acquires the load status of each controller in the network, and sets the control information of the controller to the forwarding device according to the load condition.
  • the management controller obtains the load status of each controller in the network, and obtains various methods.
  • Method 1 The management controller records the number of forwarding devices managed by each controller. Therefore, the load condition of each controller is known; Method 2: All controllers calculate their load conditions in real time, and periodically transmit their load conditions to the management controller.
  • Each controller can calculate the load by the following methods: (1) calculating the load by using the bandwidth usage of the management interface connected to the forwarding device by the controller; (2) periodically counting the number of flow tables sent by the controller to the forwarding device, Calculate the load based on the number of flow tables. After the management controller knows the load status of each controller, in setting the controller's control information for the forwarding device, the principle is set to: Ensure load balancing of each controller.
  • the management controller can obtain the network topology of the controller and the forwarding device in the network by acquiring the addresses of the controllers and the forwarding devices in the network.
  • the management controller learns the connection topology of the new forwarding device based on the address of the forwarding device or controller connected to the newly added forwarding device.
  • the setting principle is: Ensure that the connection hop between the controller establishing the communication and the forwarding device is small.
  • the management controller can simultaneously acquire the load condition of the controller and the network topology of the controller and the forwarding device in the network, manage the integrated load situation of the controller, and the network topology information, and configure the forwarding device and the controller.
  • manage the integrated load situation of the controller, and the network topology information and configure the forwarding device and the controller.
  • the management controller may notify the controller of the control information of the forwarding device by sending a message.
  • the forwarding device includes a switch, an optical network, and the like.
  • this embodiment provides how the management controller sets the control information of the controller to the forwarding device by the method provided by the present invention during the network initialization process.
  • the forwarding device is a switch.
  • the SDN network has 3 controllers and 11 switches.
  • the controller and the switch communicate with each other through a 100M Ethernet connection to deliver openflow protocol packets.
  • the switches are connected through 10 Gigabit Ethernet (10GE) to transmit service packets and openflow protocol packets.
  • the initialization process of the network firstly sets the first controller as the management controller.
  • the management controller first discovers the second switch, specifies its MASTER controller as the first controller, and uses the openflow protocol pair.
  • the second switch is configured to establish communication between the second switch and the controller after the configuration.
  • the "new access message" is notified to the management controller.
  • the management controller assigns its MASTER controller to the first controller, the third switch, and the eighth switch as the first controller, and configures it with the openflow protocol. After the configuration, the first, third, and eighth switches and controls are configured. Communication is established between the devices. Similarly, other switches and two other controllers were also discovered.
  • the number of switches responsible for the first controller is 11, the number of switches responsible for the second controller is 0, and the switch responsible for the third controller The number is 0.
  • the management controller re-designates the MASTER controller of the switch, and the specific process is: (1) retaining the MASTER controllers of the first, second, eighth, and ninth switches as the first controller; (2) to the second control
  • the device sends 4 "MASTER controller allocation messages," and the 4 messages respectively contain the addresses of the third, fourth, fifth, and seventh switches, and the second controller establishes an openflow with the four switches after receiving the message.
  • the "Load Statistics Table" of the management controller records the following items: The number of switches responsible for the first controller is 4, the number of switches responsible for the second controller is 4, and the number of switches responsible for the third controller is 3. At this point, the controller's load is more balanced.
  • the present embodiment provides how the management controller sets the controller's control information for the forwarding device by the method provided by the present invention when a controller fails.
  • the forwarding device is a switch.
  • the MASTER controllers of the first, second, eighth, and ninth switches are the first controller, and the MASTER controllers of the third, fourth, fifth, and seventh switches are the second.
  • the MASTER controller of the controller, the sixth, tenth, and eleventh switches is a third controller.
  • the first controller is a management controller, and the second controller and the third controller send a "load statistics message" to the first controller every 10 seconds, and the first controller uses these messages to generate a "load statistics table". If the second controller fails to cause unreachability, the third, fourth, fifth, and seventh switches send a "MASTER controller unreachable" message to the management controller.
  • the management controller utilizes the "load statistics table, and the network topology (assuming the load conditions of the first controller and the third controller are equivalent), and selects the first load for the third and fourth switches with a light load and a small number of connection hops.
  • the controller acts as the MASTER controller, and selects the third controller with light load and fewer connection hops as the MASTER controller for the fifth and seventh switches.
  • the management controller allocates the controller for the twelfth switch, the controller The structure of the network is shown in Figure 4. Example 4:
  • this embodiment provides how the management controller sets the controller to the forwarding device by using the method provided by the present invention when a forwarding device is newly added in the network. Control information.
  • the forwarding device is a switch.
  • the MASTER controllers of the first, second, eighth, and ninth switches are the first controller
  • the MASTER controllers of the third, fourth, fifth, and seventh switches are the first
  • the controller of the second controller, the MASTER controller of the sixth, tenth, and eleventh switches is a third controller.
  • the "load statistics table of the management controller the following items are recorded: the number of switches responsible for the first controller is 4, the number of switches responsible for the second controller is 4, and the number of switches responsible for the third controller is 3.
  • a new twelfth switch is added to the network, and the fifth switch and the sixth interaction machine send a "new access message" notification management controller to the management controller.
  • the management controller is based on the "load statistics table" and The network topology selects the third controller with light load and fewer connection hops as the MASTER controller for the twelfth switch. At the same time, the number of switches responsible for the third controller in the management controller update "load statistics table" is 4
  • the management controller sends a "MASTER controller allocation message" to the third controller, the message includes the address of the twelfth switch, and after receiving the message, the third controller establishes an openflow connection with the twelfth switch, and configures the MASTER identity. Twelfth switch.
  • the second controller can be set as the standby management controller.
  • the first controller is unreachable, it is automatically upgraded to the primary management controller.
  • This embodiment provides a method for establishing a communication, as shown in FIG. 6, including:
  • Step 601 The controller sends its own information to the management controller in the network.
  • Step 602 The controller receives control information sent by the management controller, where the control information is the management controller. Control information of the controller to the forwarding device according to the information of the controller and the forwarding device;
  • Step 603 The controller establishes communication with the corresponding forwarding device according to the control information.
  • the information of the self includes: a load condition of the controller.
  • Example 6
  • the present embodiment provides a management controller, which is configured according to the management controller in the above method.
  • the method includes: an obtaining module 71, a setting module 72, and a first sending module 73;
  • the obtaining module 71 is configured to obtain information about the controller and the forwarding device in the network;
  • the setting module 72 is configured to set control information of the controller to the forwarding device according to the information of the controller and the forwarding device;
  • the first sending module 73 is configured to send the control information to a corresponding controller.
  • the management controller may further include a first communication module configured to establish communication with all forwarding devices found in the network.
  • the management controller may further include a monitoring module configured to monitor whether a forwarding device and/or a controller is newly added in the network, whether the controller is in an idle state, whether the forwarding device and/or the controller are faulty. At least one of the cases, if yes, notifying the setting module to set or update the control information of the corresponding controller.
  • the obtaining module 71 is configured to acquire the load condition of the controller in the network and the network topology of the controller and the forwarding device.
  • the setting module 72 is configured to set the controller to control the forwarding device according to the load situation and the network topology. information.
  • the information of the forwarding device allocated by the management controller to the controller includes: address information of the forwarding device.
  • the controller has the control permission for the forwarding device assigned to it: the controller has read and write permissions to the forwarding device. For example, when the controller establishes a connection with the forwarding device as the MASTER controller, the controller has full control of the forwarding device. When the controller establishes a connection with the forwarding device as the SLAVE controller, the controller has read-only access and can have multiple controllers for this identity. When the controller establishes a connection with the forwarding device as the EQUAL controller, the controller has full control rights of the forwarding device, and multiple controllers can have this identity.
  • the management controller may allocate multiple forwarding devices to the controller.
  • controller When the controller communicates with multiple forwarding devices, there may be a controller that is a MASTER controller for a part of the forwarding devices.
  • the identity of the other part of the forwarding device is the SLAVE controller. This means that the controller may have different control rights for the controller with which it communicates.
  • At least one controller may be determined as a management controller from among existing controllers in the software-defined network, or at least one new controller may be re-arranged as a management controller for the network. If the management controller is determined from an existing controller in the software-defined network, at least one controller may be set as a management controller by means of artificial setting, or at least one management controller may be elected by election. .
  • Each controller has an ID number, which can be specified manually or automatically based on its address.
  • the election method is that the controllers broadcast their ID numbers to each other, and the controller with the largest ID number is automatically selected. Because each controller knows how many controllers are in the network and the addresses of those controllers, it knows when all the ID numbers have been received.
  • the management controller before the management controller acquires the information of each controller and the forwarding device in the network, the management controller first discovers the controller and the forwarding device in the network, and the forwarding device may include a switch; After the switch or controller is powered on, it will request to assign an address and send a Hello message so that the device connected to it discovers it.
  • the controller If the controller and the management controller are directly connected, after the controller is powered on, the controller requests the management controller and other devices connected to the management controller to allocate an address and send a Hello message; After receiving the message, the controller discovers the controller, thereby obtaining information of the controller from the controller.
  • the controller can pass The management controller has established a forwarding device for communication, and sends a Hello message to the management controller, so that the management controller discovers the controller and acquires information of the controller.
  • the management controller may not know the information of other controllers in the network.
  • the obtaining module 71 first discovers all controllers in the network, where All controllers refer to controllers that are working properly in the network.
  • the obtaining module 71 establishes communication with all the forwarding devices found in the network before acquiring all the controller information in the network where the network is located, so that the forwarding device information can be obtained from the forwarding device, and the established communication is established through the forwarding device.
  • the forwarding device discovers other forwarding devices and controllers in the network.
  • the acquiring module 71 may obtain information about all controllers and forwarding devices in the network, so that the control information of the forwarding device can be performed on each controller according to the information of the forwarding device and the controller in the network. Settings.
  • the management controller configures the management relationship between the forwarding device and the controller: a new forwarding device and/or controller is added to the network. ; The controller in the network is idle; the forwarding device and/or controller has failed.
  • the hello can be directly sent to the management controller.
  • the management controller can be informed by the forwarding device and/or controller to which it is connected.
  • the forwarding device connected to it can inform the management controller by sending "Unable to connect to the management controller" to the management controller.
  • the management controller acquires information about the controller and the forwarding device in the network, including: adding a controller or a controller in an idle state. information.
  • the management controller sets the control information of the controller, including: the management controller adjusts control information of the existing controller in the network to the forwarding device according to the information of the controller and the forwarding device; is added to the controller or is in an idle state.
  • the controller assigns a forwarding device.
  • the forwarding device Since there is only one MASTER controller for each forwarding device, if the newly added controller or the idle controller is configured as the MASTER controller to the selected forwarding device, the forwarding device must be disconnected from the previously connected MASTER controller. Communication; if the newly added controller or the idle controller is configured as a SALVE controller or an EQUAL controller to the selected forwarding device, the forwarding device can select whether to disconnect the previously connected controller according to the specific situation.
  • the acquiring module 71 further acquires the information of the newly added forwarding device.
  • the setting module 72 is configured to specify a controller for the newly added forwarding device, and set Controls the newly added forwarding device for the controller specified by the new forwarding device.
  • the setting module 72 the forwarding device configured to connect with the failed controller, specifies a new controller, and sets a new controller to control the forwarding device connected to the failed controller.
  • the controller's control right to the forwarding device When setting the controller's control right to the forwarding device, it can be set according to the control authority of the failed controller to the forwarding device.
  • the fault controller is a MASTER controller of the forwarding device
  • the setting module 72 is configured such that the controller designated for the forwarding device has all control rights to the forwarding device and is the MASTER controller of the forwarding device.
  • the information of the controller and the forwarding device acquired by the management controller includes at least one of the following: a performance of the controller, a load condition, a network topology of the controller and the forwarding device.
  • the management controller obtains the performance information of each controller, analyzes the performance information, calculates the number of forwarding devices most suitable for the controller, and allocates the forwarding to the controller according to the calculation result. The number of devices.
  • the obtaining module 71 is configured to acquire when the acquired information is a load condition of the controller. The load status of each controller in the network, and set the controller's control information for the forwarding device according to the load.
  • Method 1 The management controller records the number of forwarding devices that each controller is responsible for, so as to know the load status of each controller; Method 2, all control The load is calculated in real time and its load is periodically sent to the management controller.
  • Each controller can calculate the load by the following methods: (1) calculating the load by using the bandwidth usage of the management interface connected to the forwarding device by the controller; (2) periodically counting the number of flow tables sent by the controller to the forwarding device, Calculate the load based on the number of flow tables. After the management controller knows the load status of each controller, in setting the controller's control information for the forwarding device, the principle is set to: Ensure load balancing of each controller.
  • the obtaining module 71 is configured to obtain the network topology of the controller and the forwarding device in the network by acquiring the addresses of the controllers and the forwarding devices in the network when the acquired information is the network topology of the controller and the forwarding device. .
  • the obtaining module 71 is configured to learn the connection topology of the newly-added forwarding device according to the address of the forwarding device or the controller connected to the newly-added forwarding device when the forwarding device is added to the network.
  • the setting principle is: Ensure that the number of connection hops between the controller that establishes communication and the forwarding device is small.
  • the management controller can simultaneously acquire the load condition of the controller and the network topology of the controller and the forwarding device in the network, manage the integrated load situation of the controller, and the network topology information, and configure the forwarding device and the controller.
  • manage the integrated load situation of the controller, and the network topology information and configure the forwarding device and the controller.
  • the first sending module 73 is configured to notify the controller of the control information of the forwarding device by sending a message.
  • the forwarding device includes a switch, an optical network, and the like.
  • the obtaining module may be implemented by an I/O interface, a CPU or an I/O interface, and a hardware such as a DSP;
  • the setting module may be implemented by hardware such as a CPU or a DSP;
  • the first sending module may be an I/O interface and a CPU. Or I / O interface and DSP and other hardware combined implementation.
  • the embodiment provides a controller, which is set according to the controller in the above method.
  • the controller includes: a second sending module 81, a receiving module 82, and a communication. Module 83; wherein
  • the second sending module 81 is configured to send information of the controller itself to a management controller in the network;
  • the receiving module 82 is configured to receive, by the management controller, control information of the controller and the forwarding device according to the information set by the controller and the forwarding device;
  • the communication module 83 is configured to establish communication with the corresponding forwarding device according to the control information.
  • Example 8
  • This embodiment provides a management controller, which is configured according to the management controller in the above method.
  • the management controller includes a first Ethernet port 91, a first memory 92, and a processor. 93; Among them,
  • the first Ethernet port 91 is configured to acquire information about a controller and a forwarding device in the network, and store the information in the first memory.
  • the first memory 92 is configured to set control information of the controller to the forwarding device according to the information of the controller and the forwarding device;
  • the first Ethernet port is configured to send control information to the corresponding controller.
  • the first Ethernet port is further configured to establish communication with all forwarding devices found in the network.
  • the processor 93 is configured to detect whether at least one of the forwarding device and/or the controller is added to the network, whether the controller is in an idle state, whether the forwarding device and/or the controller are faulty. If yes, set or update the control information of the corresponding controller.
  • the information of the controller and the forwarding device in the network acquired by the first Ethernet interface is: a load condition of the controller and a network topology of the controller and the forwarding device; the processor is configured to be based on the load situation and the network extension Pu sets the controller's control information for the forwarding device.
  • the embodiment provides a controller, which is set according to the controller in the above method, the controller includes a second Ethernet port, and the second Ethernet port is used to send information of the controller itself to the network.
  • the second Ethernet port is further configured to receive, by the management controller, control information of the controller to the forwarding device according to the information set by the controller and the forwarding device; the second Ethernet port is further configured to be used according to the controller The information establishes communication with the corresponding forwarding device.
  • the controller further includes a second memory, where the second memory is used to count the load condition of the controller; and the information of the controller itself sent by the second Ethernet port is: a load condition of the controller.

Abstract

La présente invention concerne des procédés permettant de définir des informations de commande et d'établir une communication, un organe de commande de gestion et un organe de commande, qui peuvent résoudre le problème d'une relation de gestion non raisonnable entre des organes de commande et un dispositif d'acheminement dans un réseau défini par un logiciel existant. Le procédé de configuration d'informations de commande selon la présente invention comprend en particulier les étapes suivantes : l'organe de commande de gestion acquiert des informations d'organes de commande et d'un dispositif d'acheminement dans un réseau où se trouve l'organe de commande de gestion ; l'organe de commande de gestion configure des informations de commande de chaque organe de commande sur le dispositif d'acheminement en fonction des informations des organes de commande et du dispositif d'acheminement ; et l'organe de commande de gestion envoie les informations de commande à l'organe de commande correspondant.
PCT/CN2014/076687 2014-01-16 2014-04-30 Procédés de configuration d'informations de commande et d'établissement de communication, organe de commande de gestion et organe de commande WO2015106506A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410018969.1 2014-01-16
CN201410018969.1A CN104796269A (zh) 2014-01-16 2014-01-16 设置控制信息、建立通信的方法及管理控制器及控制器

Publications (1)

Publication Number Publication Date
WO2015106506A1 true WO2015106506A1 (fr) 2015-07-23

Family

ID=53542335

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076687 WO2015106506A1 (fr) 2014-01-16 2014-04-30 Procédés de configuration d'informations de commande et d'établissement de communication, organe de commande de gestion et organe de commande

Country Status (2)

Country Link
CN (1) CN104796269A (fr)
WO (1) WO2015106506A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011815B (zh) * 2016-10-28 2020-12-01 中国电信股份有限公司 网络控制方法以及软件定义网络设备和系统
CN115426327B (zh) * 2022-11-04 2023-01-13 北京邮电大学 算力调度方法、装置、电子设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346971A (zh) * 2013-06-19 2013-10-09 华为技术有限公司 数据转发方法、控制器、转发设备及系统
CN103401786A (zh) * 2013-07-12 2013-11-20 华为技术有限公司 网络拓扑建立、路径控制、报文传输方法及装置、系统
CN103501236A (zh) * 2013-08-26 2014-01-08 武汉烽火网络有限责任公司 网络控制平面逻辑拓扑生成方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488879B (zh) * 2008-01-15 2013-09-11 上海贝尔阿尔卡特股份有限公司 以太网生成树协议的网络设备中的故障保护方法及装置
CN102209035B (zh) * 2011-05-25 2014-10-15 杭州华三通信技术有限公司 流量转发方法及转发设备
CN102281195B (zh) * 2011-08-03 2014-07-30 华为技术有限公司 交换机和交换机系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346971A (zh) * 2013-06-19 2013-10-09 华为技术有限公司 数据转发方法、控制器、转发设备及系统
CN103401786A (zh) * 2013-07-12 2013-11-20 华为技术有限公司 网络拓扑建立、路径控制、报文传输方法及装置、系统
CN103501236A (zh) * 2013-08-26 2014-01-08 武汉烽火网络有限责任公司 网络控制平面逻辑拓扑生成方法及装置

Also Published As

Publication number Publication date
CN104796269A (zh) 2015-07-22

Similar Documents

Publication Publication Date Title
US9531643B2 (en) Extending virtual station interface discovery protocol (VDP) and VDP-like protocols for dual-homed deployments in data center environments
US9143439B2 (en) System and method for cluster link aggregation control in a network environment
US10050824B2 (en) Managing a cluster of switches using multiple controllers
US9338097B2 (en) Method and system for load balancing at a data network
RU2651149C2 (ru) Sdn-контроллер, система центра обработки данных и способ маршрутизируемого соединения
US10587494B2 (en) Network control method and apparatus
EP3261290A1 (fr) Centre de données défini par logiciel et procédé destiné au déploiement de grappe de services dans ce dernier
EP3016316B1 (fr) Procédé et appareil de commande de réseau
US8948176B1 (en) Distributed fibre channel forwarder
JP6384696B2 (ja) 転送テーブル同期方法、ネットワークデバイスおよびシステム
WO2015074396A1 (fr) Procédé de configuration automatique, dispositif, et système de réseau défini par logiciel
EP2911346B1 (fr) Procédé et dispositif de réseau permettant d'établir un groupe virtuel
JP5866083B1 (ja) ソフトウェア定義ネットワークにおける制御方法、制御装置およびプロセッサ
WO2015131757A1 (fr) Canal entre un dispositif de mise en réseau définie par logiciel (sdn) et un contrôleur
CN106797319B (zh) 网络服务感知路由器及其应用
TW201914265A (zh) 自動配置的交換機、自動配置交換機的方法、交換機自動部署的軟體定義網路系統及其方法
KR101665276B1 (ko) 가상 섀시 시스템에서 패스 스루 모드를 위한 시스템 및 방법
WO2015106506A1 (fr) Procédés de configuration d'informations de commande et d'établissement de communication, organe de commande de gestion et organe de commande
KR20170000787A (ko) 서비스 펑션 체이닝의 안정성 보장을 위한 sff-sf 간 링크 구성 방법
KR20150085464A (ko) 서버 연결 장치 및 방법
US10367681B2 (en) Maintenance of data forwarder connection state information
US8732335B2 (en) Device communications over unnumbered interfaces
CN106712994B (zh) 软件定义网络管理方法及通信系统
JP2022518451A (ja) 高性能コンピューティング環境における複数の独立したレイヤ2(l2)サブネットにわたる単一の論理ipサブネットのためのシステムおよび方法
JP2017158103A (ja) 通信管理装置、通信システム、通信管理方法およびプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14878402

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14878402

Country of ref document: EP

Kind code of ref document: A1