WO2015055103A1 - 一种配置点连接信息的获取方法及装置 - Google Patents

一种配置点连接信息的获取方法及装置 Download PDF

Info

Publication number
WO2015055103A1
WO2015055103A1 PCT/CN2014/088436 CN2014088436W WO2015055103A1 WO 2015055103 A1 WO2015055103 A1 WO 2015055103A1 CN 2014088436 W CN2014088436 W CN 2014088436W WO 2015055103 A1 WO2015055103 A1 WO 2015055103A1
Authority
WO
WIPO (PCT)
Prior art keywords
config
information
gsw
lsa
configuration point
Prior art date
Application number
PCT/CN2014/088436
Other languages
English (en)
French (fr)
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 WO2015055103A1 publication Critical patent/WO2015055103A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/036Updating the topology between route computation elements, e.g. between OpenFlow controllers

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for acquiring configuration point connection information.
  • the traditional network equipment in the network is widely used.
  • a hybrid network is proposed that supports both the traditional network equipment and the new network equipment, and the hybrid network implementation needs to be mixed.
  • New network devices in networking, for example, OpenFlow switches support hybrid mode.
  • the OpenFlow configuration point interacts with the OpenFlow switch through the OpenFlow Switch Configuration Management (OF-config) protocol.
  • OF-config OpenFlow Switch Configuration Management
  • an OpenFlow switch can pass the Secure Shell (SSH) protocol, the Simple Object Access Protocol (SOAP), the Block Extensible Exchange Protocol (BEEP), or The Transport Layer Security (TLS) protocol communicates with the OpenFlow Configuration Point (Config Point) to obtain configuration information and complete the switch configuration.
  • SSH Secure Shell
  • SOAP Simple Object Access Protocol
  • BEEP Block Extensible Exchange Protocol
  • TLS Transport Layer Security
  • the OpenFlow switch needs to obtain the connection information such as the Internet Protocol (IP) address and port number of the OpenFlow configuration point.
  • IP Internet Protocol
  • the OpenFlow configuration point can be an independent network element or an integral part of the OpenFlow controller (Controller).
  • the OpenFlow switch communicates with the OpenFlow controller through the OpenFlow protocol.
  • the OpenFlow switch needs to obtain the IP address and port number of the OpenFlow controller before establishing a Transmission Control Protocol (TCP) connection with the OpenFlow controller.
  • TCP Transmission Control Protocol
  • the OpenFlow switch after the OpenFlow switch accesses the network, it needs to solve the configuration problem before it can provide network services.
  • the OpenFlow switch needs to obtain the connection information such as the connection protocol type, IP address, and port number of the OpenFlow configuration point.
  • the current solution to the configuration problem is that after the OpenFlow switch is started, the computer is directly connected to the OpenFlow switch through a physical port (for example, a serial port or a network port), and the connection information of the OpenFlow configuration point is obtained through a command line or a graphic manner, and then According to the obtained connection information, establish communication with the OpenFlow configuration point, obtain configuration information from the OpenFlow configuration point, and complete configuration of the OpenFlow switch.
  • a physical port for example, a serial port or a network port
  • each OpenFlow switch in the hybrid network needs to obtain the connection information of the OpenFlow configuration point configuration through the command line or image mode of the computer.
  • the process of implementing the hybrid networking is similar to that of the above-mentioned OpenFlow switch. That is, each switch in the hybrid network needs to obtain the connection information of the configuration point configuration through the command line or image mode.
  • the number of switches in the hybrid network is large, the workload required to obtain the configuration point connection information is large, the operation is cumbersome, the deployment time is long, and error is easy.
  • the embodiment of the invention provides a method and a device for acquiring configuration point connection information, which are used to solve the connection information of each configuration in the hybrid network in the prior art, which is required to obtain configuration point configuration by using a computer based on a command line or an image mode.
  • the number of switches in the hybrid network is large, the workload required to obtain the configuration point connection information is large, the operation is cumbersome, the deployment time is long, and the error is easy.
  • an embodiment of the present invention provides a method for acquiring configuration point connection information, including:
  • the gateway switch GSW constructs a link state advertisement Config LSA information according to the connection information of the configuration point, where the connection information includes a connection protocol type, an internet protocol IP address, and a port number of the configuration point, and the GSW and the configuration Point direct connection;
  • the GSW constructs the Config LSA information according to the connection information of the configuration point, where the GSW constructs the Config LSA information according to the connection information of the multiple configuration points;
  • the sending the Config LSA information to the SW that is connected to the GSW communication includes:
  • the configuration point is an OpenFlow OpenFlow configuration point
  • the GSW and the SW are OpenFlow OpenFlow switches.
  • the sending the Config LSA information to the GSW communication connection Before the switch SW it also includes:
  • the GSW sends a database description DBD message to the SW directly connected to the GSW;
  • the LSR message is that the SW directly connected to the GSW is generated and sent according to the received DBD message.
  • an embodiment of the present invention provides a method for acquiring configuration point connection information, including:
  • Config LSA information includes connection information of the configuration point, and the connection information includes a connection of the configuration point.
  • Protocol type internet protocol IP Address and port number;
  • the receiving the Config LSA information sent by the GGW includes:
  • the LSA information is Config LSA information.
  • the obtaining the connection information of the configuration point according to the Config LSA information specifically includes:
  • the connection information of each configuration point is obtained according to the Config LSA information.
  • the method further includes:
  • the Config LSA information is carried in the link state update LSU message and sent.
  • the configuration point is an OpenFlow OpenFlow configuration point
  • the GSW and the SW are OpenFlow OpenFlow switches.
  • the method before the receiving the Config LSA information sent by the GSW, the method further includes:
  • a receiving link state request LSR message is generated according to the DBD message and sent to the GSW.
  • the method before the sending the Config LSA information to the directly connected SW, the method further includes:
  • the LSR message is that the SW directly connected thereto is generated and transmitted according to the received DBD message.
  • an embodiment of the present invention provides an apparatus for acquiring configuration point connection information, including:
  • a configuration module configured to configure link state advertisement Config LSA information according to the connection information of the configuration point, where the connection information includes a connection protocol type, an internet protocol IP address, and a port number of the configuration point, and the device and the The configuration point is directly connected;
  • a sending module configured to send the Config LSA information to the switch SW that is in communication with the device, so that the SW obtains the connection information of the configuration point carried in the Config LSA information.
  • the constructing module is specifically configured to use, according to the connection information of the multiple configuration points Constructing the Config LSA information;
  • the sending module is configured to send the Config LSA information to the SW that is in communication with the device, so that the SW obtains connection information of each configuration point carried in the Config LSA information.
  • the sending module is specifically configured to:
  • the configuration point is an OpenFlow OpenFlow configuration point
  • the SW is an OpenFlow OpenFlow switch.
  • the sending module is configured to send the Config LSA information to the device Before the connected switch SW, it is also used to:
  • the device also includes:
  • a receiving module configured to receive a link state request LSR message, where the LSR message is that the SW directly connected to the device is generated and sent according to the received DBD message.
  • a fourth aspect of the present invention provides an apparatus for acquiring configuration point connection information, including:
  • a receiving module configured to receive configuration link state advertisement Config LSA information sent by the gateway switch GSW, where the GSW is directly connected to the configuration point, where the Config LSA information includes connection information of the configuration point, where the connection information includes The connection protocol type, internet protocol IP address, and port number of the configuration point;
  • an obtaining module configured to obtain connection information of the configuration point according to the Config LSA information.
  • the receiving module is specifically configured to:
  • the LSA information is ConfigLSA information.
  • the acquiring module is specifically configured to:
  • the connection information of each configuration point is obtained according to the Config LSA information.
  • the method further includes: a sending module, configured to:
  • the receiving module is further configured to receive the GSW before receiving the Config LSA information sent by the GSW
  • the sent database describes the DBD message
  • the acquisition module also And a method for generating a receiving link state request LSR message according to the DBD message
  • the sending module is further configured to send the LSR message to the GSW.
  • the sending module before the sending the Config LSA information to the directly connected SW Used for:
  • the receiving module is further configured to receive a link state request LSR message, where the LSR message is that the SW directly connected thereto is generated and sent according to the received DBD message.
  • the configuration point is an OpenFlow OpenFlow configuration point
  • the GSW and the SW is an OpenFlow OpenFlow switch.
  • the gateway switch is configured to carry the configuration information of the configuration point in the configuration link state advertisement (Config LSA) and send the information to the switch in the hybrid network.
  • switch referred to as SW
  • the SW can directly obtain the connection information of the configuration point through the Config LSA information, thereby establishing a connection with the configuration point based on the connection information, thereby avoiding that each SW is connected to the computer as in the prior art.
  • obtaining the connection information of the configuration point based on the command line or the image mode, reducing the workload required for the SW in the hybrid network to obtain the connection information of the configuration point, shortening the total configuration time of the switch in the entire hybrid network, and avoiding the SW.
  • the configuration error occurs and the system efficiency is improved.
  • FIG. 1 is a schematic diagram of interaction between an OpenFlow configuration point and an OpenFlow switch
  • FIG. 2 is a flowchart of a method for acquiring configuration point connection information designed according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a hybrid mode of an OpenFlow switch according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a topology structure of a hybrid network according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of advertising connection information between a GSW and a SW in a hybrid network according to an embodiment of the present invention
  • FIG. 6A is a schematic structural diagram of Config LSA information in an embodiment of the present invention.
  • 6B is a diagram of Config LSA information including multiple connection information according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of another method for acquiring configuration point connection information designed according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of processing, by the SW, the received LSA information in the embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus for acquiring configuration point connection information according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a device for acquiring configuration point connection information according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another apparatus for acquiring configuration point connection information according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another apparatus for acquiring configuration point connection information designed according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a gateway switch designed according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a switch according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for acquiring configuration point connection information, including the following steps.
  • Step 201 The GSW constructs a configuration link-state advertisement (Config LSA) information according to the connection information of the configuration point.
  • the connection information includes a connection protocol type, an internet protocol IP address, and a port number of the configuration point, and the GSW is directly connected to the configuration point.
  • the direct connection in the present invention means that the two network entities do not perform communication transfer between other network entities.
  • Step 202 Send the Config LSA information to the switch (Switch, referred to as SW) that is connected to the GSW, so that the SW obtains the connection information of the configuration point carried in the Config LSA information.
  • SW switch
  • the above configuration point may be an OpenFlow configuration point, and the OpenFlow configuration point may be an independent network element or an integral part of the OpenFlow controller (Controller).
  • the above GSW or / and SW may be OpenFlow switches supporting Hybrid mode, that is, GSW or / and SW can support Open Shortest Path First (OSPF) or OSPF while supporting OpenFlow protocol. Lite (Lite) protocol.
  • FIG. 3 A schematic diagram of the hybrid mode of the OpenFlow switch is shown in FIG.
  • the dashed line in Figure 3 indicates the direction of data flow, and the solid line portion indicates the interaction between modules.
  • FIG. 3 shows only one possible implementation.
  • the structure of the OpenFlow switch in practical applications is not limited to the possibility shown in FIG.
  • control plane may be a module capable of implementing a control function, for example, a central processing unit (CPU).
  • the forwarding plane can be a hardware module for information matching and forwarding. After entering the OpenFlow switch through the physical layer port (PHY Port), the data enters the forwarding plane. The forwarding plane determines whether the received data is based on the OpenFlow protocol or based on the OSPF protocol or the OSPF Lite protocol:
  • the data is forwarded to an OpenFlow protocol module for processing; if the data is based on an OSPF protocol or an OSPF Lite protocol, the data is passed through a logical interface (Logic Port) Forwarding to the OSPF/OSPF Lite protocol module, where the OpenFlow protocol module and the OSPF/OSPF Lite protocol module can be protocol-related software programs.
  • a non-OSPF protocol for example, OpenFlow protocol
  • OpenFlow protocol for example, OpenFlow protocol
  • the data is forwarded to an OpenFlow protocol module for processing
  • the data is based on an OSPF protocol or an OSPF Lite protocol
  • the data is passed through a logical interface (Logic Port) Forwarding to the OSPF/OSPF Lite protocol module, where the OpenFlow protocol module and the OSPF/OSPF Lite protocol module can be protocol-related software programs.
  • OSPF or OSPF Lite protocol is run on the control plane of the OpenFlow switch to implement routing information forwarding and forwarding.
  • connection information of the above configuration point may include, but is not limited to, a connection protocol type, an IP address, and a port number of the configuration point.
  • connection information included in the Config LSA information may be multiple.
  • connection information corresponding to each of three configuration points and two controllers may be included.
  • the GSW is configured according to the multiple configurations.
  • the Config LSA information is configured by the respective connection information, and the Config LSA information is sent to the SW connected to the GSW, so that the SW obtains the connection information of each configuration point carried in the Config LSA information.
  • the sending the Config LSA information to the SW connected to the GSW communication includes:
  • the Config LSA information is carried in the link state update LSU message and sent to the SW directly connected to the GSW, so that the SW directly connected to the GSW carries the Config LSA information in the LSU message and directly connects to the self.
  • the other SWs are carried by the other SWs to carry the Config LSA information in the LSU message and sent to other SWs directly connected to themselves, until all the SWs connected to the GSW communication receive the Config LSA information.
  • the method further includes:
  • the GSW sends a Link State Update (LSU) message to the SW directly connected to the GSW;
  • LSU Link State Update
  • the GSW receives a Link State Request (LSR) message, and the LSR message is that the SW directly connected to the GSW is generated and transmitted according to the received DBD message.
  • LSR Link State Request
  • FIG. 5 is a schematic diagram of advertised connection information between a GSW and a SW according to Config LSA information in a hybrid network according to an embodiment of the present invention.
  • GSW sends the Config LSA information to its neighboring SW.
  • the SW adjacent to the GSW forwards the received Config LSA information to other SWs.
  • LS Link State
  • LS age represents the link state age
  • LS Type indicates the link status type, which is the type field.
  • Link State ID indicates a link state identifier
  • Adverting Router indicates that the router is advertised
  • LS Sequence number indicates the link state serial number
  • LS checksum indicates a link state checksum
  • Length indicates the length
  • Port indicates the port number of the configuration point
  • IP indicates the IP address of the configuration point
  • Conn Type indicates the connection protocol type of the configuration point, and may include various OF-CONFIG protocols, for example, SSH, SOAP, BEEP, TLS protocol, Transmission Control Protocol (TCP), and the like.
  • OF-CONFIG protocols for example, SSH, SOAP, BEEP, TLS protocol, Transmission Control Protocol (TCP), and the like.
  • a Config LSA information may include multiple connection information.
  • Conn Type M indicates the connection protocol type of the Mth configuration point
  • Port M indicates the port number of the Mth configuration point
  • IP M indicates The IP address of the Mth configuration point, where M is a positive integer greater than one.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • GSW and SW1 are adjacent to SW2
  • SW2 is adjacent to SW3
  • SW3 is not adjacent to GSW
  • SW1 and SW2 are not adjacent
  • SW1 and SW3 are not adjacent.
  • the GSW/SW in the hybrid network periodically sends Hello messages to neighboring GSW/SWs based on multicast or broadcast mode to establish and maintain adjacencies.
  • the GSW/SW with adjacency relationship exchanges database description (DBD, Database Description) messages with each other.
  • the DBD message contains header information of the LSA information, which is used to describe the summary information of the link state database.
  • the GSW After acquiring the connection information of the configuration point, the GSW generates Config LSA information based on the connection information. At this time, the link state of the GSW changes, and then the GSW generates a new DBD message and sends it to SW1 and SW2.
  • SW1 and SW2 determine that the local Config LSA information needs to be updated according to the received DBD message.
  • SW1 generates a Link State Request (LSR1) message (LSR1) and sends it to the GSW to request the GSW to send Config LSA information to SW1;
  • SW2 also generates an LSR message and Send to the GSW to request the GSW to send Config LSA information to SW2.
  • LSR1 Link State Request
  • SW2 also generates an LSR message and Send to the GSW to request the GSW to send Config LSA information to SW2.
  • LSR1 After receiving the LSR message (LSR1) sent by SW1, GSW will set the Config LSA information.
  • the bearer is sent to SW1 in the LSU message.
  • LSR2 After receiving the LSR message (LSR2) sent by SW2, the GSW carries the Config LSA information in the LSU message and sends it to SW2.
  • SW1 parses the Config LSA information from the received LSU message, and establishes a connection with the corresponding configuration point based on the connection information in the Config LSA information.
  • SW2 parses the Config LSA information from the received LSU message, and establishes a connection with the corresponding configuration point based on the connection information in the Config LSA information. At this time, the link state of SW2 changes, and then SW2 generates a new DBD message and transmits it to SW3.
  • SW3 determines that the local Config LSA information needs to be updated. At this time, SW3 generates a Link State Request (LSR) message and sends it to SW1 to request SW2 to send Config LSA information to SW3.
  • LSR Link State Request
  • SW2 forwards the Config LSA information sent by the GSW to SW3.
  • the embodiment of the present invention also provides a method for acquiring configuration point connection information. Referring to FIG. 7, the following steps are included.
  • Step 701 Receive configuration link state advertisement Config LSA information sent by the gateway switch GSW.
  • the GSW is directly connected to the configuration point, and the Config LSA information includes connection information of the configuration point.
  • Step 702 Obtain connection information of the foregoing configuration point according to the Config LSA information.
  • connection information includes a connection protocol type, an internet protocol IP address, and a port number of the configuration point.
  • Step 701 can be implemented by the following specific implementation:
  • LSA Link-State Advertisement
  • the LSA information is determined to be Config LSA information according to the value of the specified field of the LSA information.
  • connection information of the multiple configuration points is carried in the Config LSA information
  • the connection information of each configuration point is obtained according to the Config LSA information.
  • the Config LSA information is carried in the link state update LSU message and sent.
  • the foregoing configuration point may be, but not limited to, an OpenFlow configuration point
  • the foregoing GSW and the foregoing SW may be, but not limited to, an OpenFlow switch.
  • the method Before receiving the Config LSA information sent by the GSW, the method further includes:
  • a receiving link state request LSR message is generated according to the DBD message and sent to the GSW.
  • the method before the foregoing sending the Config LSA information to the SW directly connected thereto, the method further includes:
  • the foregoing LSR message is generated and sent by the SW directly connected thereto according to the received DBD message.
  • the execution body of the above steps includes a SW having a direct or indirect communication connection with the GSW.
  • Step 801 The SW receives the LSA information.
  • Step 802 The SW determines whether the LSA information is Config LSA information. If yes, step 804 is performed. Otherwise, step 803 is performed.
  • the SW may parse the LSA information, and determine that the value of the type field in the LSA information is a preset fixed value that indicates that the LSA information is Config LSA information (the preset fixed value may be an integer less than 1 or greater than 11). When it is determined, the LSA information is Config LSA information.
  • Step 803 The SW processes the LSA information according to the existing OSPF protocol.
  • Step 804 The SW establishes a connection with the corresponding configuration point according to the connection information carried in the Config LSA information.
  • the SW parses out the connection protocol type, IP address, and port number in the connection information carried in the Config LSA information, and then initiates a connection establishment request to the configuration point corresponding to the IP address and the port number. According to the connection protocol type, establish corresponding connection.
  • the SW when determining that the Config LSA information carries the connection information of the multiple configuration points, the SW establishes a connection with the configuration point based on the connection information corresponding to each configuration point carried in the Config LSA information.
  • the connection information includes a connection protocol type, an IP address, and a port number.
  • the GSW generates Config LSA information based on the connection information.
  • n is an integer less than 1 and greater than 11.
  • the GSW sends the Config LSA information to the SW.
  • all SWs and GSWs in the hybrid network can exchange Config LSA information to obtain connection information of each configuration point in the hybrid network.
  • the SW After receiving the LSA information, the SW reads the connection information carried in the Config LSA information when the LSA information is Config LSA information based on the type field of the LSA information.
  • the SW initiates a connection to the corresponding configuration point according to the read connection information, thereby establishing a communication connection between the SW and the configuration point.
  • the embodiment of the present invention further provides an apparatus for acquiring configuration point connection information.
  • the apparatus includes:
  • the configuration module 901 is configured to configure a link state advertisement Config LSA information according to the connection information of the configuration point, where the connection information includes a connection protocol type, an internet protocol IP address, and a port number of the configuration point, and the device and the configuration point direct connection;
  • the sending module 902 is configured to send the Config LSA information to the switch SW that is in communication with the device, so that the SW obtains the connection information of the configuration point carried in the Config LSA information.
  • the structure module 901 is configured to configure the Config LSA information according to connection information of each of the plurality of configuration points, where the sending module 902 is specifically configured to use the Config.
  • the LSA information is sent to the SW that is in communication with the device, so that the SW obtains each configuration carried in the Config LSA information. Point connection information.
  • the sending module 901 is specifically configured to:
  • the Config LSA information is carried in the link state update LSU message and sent to the SW directly connected to the device, so that the SW directly connected to the device carries the Config LSA information in the LSU message and sends the direct connection to itself.
  • the other SWs are carried by the other SWs to carry the Config LSA information in the LSU message and sent to other SWs directly connected to the same, until all the SWs that are in communication with the device receive the Config LSA information.
  • the foregoing configuration point may be, but is not limited to, an OpenFlow configuration point
  • the foregoing SW may be, but not limited to, an OpenFlow switch
  • the foregoing apparatus may further include: a receiving module 903, where the sending module 902 is configured to: before transmitting the Config LSA information to the switch SW communicatively connected to the device,
  • the receiving module 903 is configured to receive a link state request LSR message, where the LSR message is generated and sent by the SW directly connected to the device according to the received DBD message.
  • the embodiment of the present invention further provides another device for acquiring configuration point connection information.
  • the method includes:
  • the receiving module 1001 is configured to receive the configuration link state advertisement Config LSA information sent by the gateway switch GSW, where the GSW is directly connected to the configuration point, where the Config LSA information includes connection information of the configuration point, where the connection information includes the configuration point. Connection protocol type, internet protocol IP address, and port number;
  • the obtaining module 1002 is configured to obtain connection information of the foregoing configuration point according to the Config LSA information.
  • the receiving module 1001 is specifically configured to:
  • the LSA information is determined to be ConfigLSA information according to the value of the specified field of the LSA information.
  • the obtaining module 1002 is specifically configured to:
  • the connection information of each configuration point is obtained.
  • the foregoing apparatus may further include a sending module 1003, configured to:
  • the foregoing configuration point may be, but not limited to, an OpenFlow configuration point
  • the foregoing GSW and the foregoing SW may be, but not limited to, an OpenFlow switch.
  • the receiving module 1001 is further configured to receive the database description DBD message sent by the GSW before receiving the Config LSA information sent by the GSW.
  • the acquiring module 1002 is further configured to generate a receiving link state request LSR according to the DBD message.
  • the sending module 1003 is further configured to send the foregoing LSR message to the GSW.
  • the sending module 1003 is further configured to:
  • the receiving module 1001 is further configured to receive a link state request LSR message, where the LSR message is generated and sent by the SW directly connected thereto according to the received DBD message.
  • the embodiment of the present invention is also provided to a gateway switch.
  • the gateway switch includes a transceiver 1201, a processor 1202, a memory 1203, and a bus 1204.
  • the transceiver 1201, the processor 1202, and the memory 1203 are connected by a bus 1204 and complete communication with each other, wherein:
  • the bus 1204 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus 1204 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one line is shown in Figure 13, but it does not mean that there is only one bus or one type of bus.
  • the memory 1203 is for storing program code, and the program code includes an operation instruction.
  • the memory 1203 may include a random access memory (RAM), and may also Including non-volatile memory, such as disk storage.
  • the processor 1202 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the transceiver 1201 can be configured to transmit information to a SW communicatively coupled to the gateway switch.
  • the processor 1202 is configured to invoke the program code in the memory 1203 to perform the following operations:
  • connection information includes a connection protocol type, an IP address, and a port number of the configuration point, and the gateway switch is directly connected to the configuration point;
  • the Config LSA information is sent by the transceiver 1201 to the SW that is in communication with the gateway switch, so that the SW obtains the connection information of the configuration point carried in the Config LSA information.
  • the processor 1202 is specifically configured to invoke the program code in the foregoing memory 1203 to perform the following operations:
  • the Config LSA information is configured according to connection information of each of the plurality of arrangement points, and the transceiver 1202 is called to transmit the Config LSA information to the SW connected to the GSW communication, so that the foregoing The SW obtains the connection information of each configuration point carried in the Config LSA information.
  • the transceiver 1202 is specifically configured to:
  • the Config LSA information is carried in the LSU message and sent to the SW directly connected to the GSW, so that the SW directly connected to the gateway switch carries the Config LSA information in the LSU message and sends the SW to the other directly connected to itself. And the other SWs carry the Config LSA information in the LSU message and send it to other SWs directly connected to the same, until all the SWs that are in communication with the gateway switch receive the Config LSA information.
  • the foregoing configuration point may be, but is not limited to, an OpenFlow configuration point
  • the gateway switch and the foregoing SW may be, but not limited to, an OpenFlow switch
  • the transceiver 1202 is further configured to: before transmitting the Config LSA information to the switch SW communicatively connected to the device:
  • the gateway switch includes a transceiver 1301, a processor 1302, a memory 1303, and a bus 1304.
  • the transceiver 1301, the processor 1302, and the memory 1303 are connected by a bus 1304 and complete communication with each other, wherein:
  • the bus 1304 can be a PCI bus or an EISA bus or the like.
  • the bus 1304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
  • the memory 1303 is for storing program code, and the program code includes an operation instruction.
  • the memory 1303 may include RAM, and may also include non-volatile memory such as a disk storage.
  • Processor 1302 may be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the transceiver 1301 is configured to receive the configuration link state advertisement Config LSA information sent by the gateway switch GSW, where the GSW is directly connected to the configuration point, where the Config LSA information includes connection information of the configuration point, where the connection information includes the connection of the configuration point. Protocol type, internet protocol IP address, and port number.
  • the processor 1302 is specifically configured to invoke the program code in the foregoing memory 1303 to perform the following operations:
  • connection information of the above configuration point is obtained according to the above Config LSA information.
  • the transceiver 1301 is specifically configured to:
  • the LSA information is determined to be ConfigLSA information according to the value of the specified field of the LSA information.
  • the transceiver 1301 is specifically configured to:
  • the connection information of each configuration point is obtained according to the Config LSA information.
  • the GSW can transmit the connection information of the configuration point in the Config LSA information to the SW in the hybrid network, so that the SW can directly pass the Config LSA.
  • the information obtains the connection information of the configuration point, thereby establishing a connection with the configuration point based on the connection information, thereby avoiding that each SW connects to the computer as in the prior art, and obtains the connection information of the configuration point based on the command line or the image mode, thereby reducing
  • the SW in the hybrid network needs to deploy the connection information for obtaining the configuration point, shortens the total configuration time of the switch in the entire hybrid network, and avoids the SW configuration error and improves the system efficiency.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种配置点连接信息的获取方法及装置,该方法包括:网关交换机GSW根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号,所述GSW与所述配置点直接连接;将所述Config LSA信息发送给与所述GSW通信连接的交换机SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息,用以解决现有技术在混合组网中的交换机的数量多时,获取配置点连接信息所需的工作量大且操作繁琐、部署时间长、容易出错的问题。

Description

一种配置点连接信息的获取方法及装置 技术领域
本发明涉及通信技术领域,特别涉及一种配置点连接信息的获取方法及装置。
背景技术
目前网络中的传统网络设备的应用非常广泛,为了保护针对传统网络设备的原有投资,提出了既支持传统网络设备又支持新型网络设备的混合组网,而混合组网的实现,则需要混合组网中的新型网络设备,例如,开放流(OpenFlow)交换机支持混合(hybrid)模式。
下面以OpenFlow交换机为例,说明目前混合组网的实现过程。
参阅图1所示,OpenFlow配置点与OpenFlow交换机之间通过OpenFlow交换机配置管理(OF-config)协议交互。根据OF-config协议,OpenFlow交换机可以通过安全外壳(Secure Shell,简称SSH)协议、简单对象访问协议(Simple Object Access Protocol,简称SOAP)、块可扩展交换协议(Blocks Extensible Exchange Protocol,简称BEEP)或安全传输层(Transport Layer Security,简称TLS)协议与OpenFlow配置点(Configuration Point,简称Config Point)进行通信,获取配置信息,完成交换机的配置。
然而在通过SSH协议、SOAP、BEEP或TLS协议与OpenFlow配置点进行通信之前,OpenFlow交换机需要先获取OpenFlow配置点的网际协议(Internet Protocol,简称IP)地址和端口号等连接信息。OpenFlow配置点可以是一个独立的网元,也可以是OpenFlow控制器(Controller)的一个组成部分。
参阅图1所示,OpenFlow交换机与OpenFlow控制器通过OpenFlow协议进行通信。根据OpenFlow协议的要求,OpenFlow交换机在与OpenFlow控制器之间建立传输控制协议(Transmission Control Protocol,简称TCP)连接之前,也需要先获取OpenFlow控制器的IP地址和端口号。
通过上述分析可知,OpenFlow交换机接入网络之后,需要解决配置问题,才能够提供网络服务。在解决配置问题的过程中,OpenFlow交换机需要首先获取OpenFlow配置点的连接协议类型、IP地址和端口号等连接信息。
而目前解决配置问题的方法是,在OpenFlow交换机启动后,通过物理端口(例如,串口、网口等)将电脑直接连接到OpenFlow交换机,通过命令行或图形方式获取OpenFlow配置点的连接信息,然后根据获取的连接信息,与OpenFlow配置点建立通信,从OpenFlow配置点获取配置信息,完成OpenFlow交换机的配置。
通过上述过程可以看出,混合组网中的每一个OpenFlow交换机在完成配置的过程中,都需要通过电脑基于命令行或图像方式,获取OpenFlow配置点配置的连接信息。
目前交换机实现混合组网的过程均与上述OpenFlow交换机实现混合组网的过程类似,即混合组网中每一个交换机都需要分别通过电脑基于命令行或图像方式,获取配置点配置的连接信息,因此,在混合组网中的交换机的数量多时,获取配置点连接信息所需的工作量大且操作繁琐、部署时间长、容易出错。
发明内容
本发明实施例提供一种配置点连接信息的获取方法及装置,用以解决现有技术中混合组网中每一个交换机都需要分别通过电脑基于命令行或图像方式,获取配置点配置的连接信息,所导致的在混合组网中的交换机的数量多时,获取配置点连接信息所需的工作量大且操作繁琐、部署时间长、容易出错的问题。
第一方面,本发明实施例提供一种配置点连接信息的获取方法,包括:
网关交换机GSW根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号,所述GSW与所述配置点直接连接;
将所述Config LSA信息发送给与所述GSW通信连接的交换机SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息。
结合第一方面,在第一方面的第一种可能的实现方式中,在所述配置点为多个配置点时,
所述GSW根据配置点的连接信息构造Config LSA信息,具体为:所述GSW根据所述多个配置点各自的连接信息构造所述Config LSA信息;
所述将所述Config LSA信息发送给与所述GSW通信连接的SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息,具体为:
将所述Config LSA信息发送给与所述GSW通信连接的SW,以使所述SW获得所述Config LSA信息中携带的每一个配置点的连接信息。
结合第一方面,在第一方面的第二种可能的实现方式中,所述将所述Config LSA信息发送给与所述GSW通信连接的SW,具体包括:
将所述Config LSA信息携带在链路状态更新LSU消息中发送给与所述GSW直接连接的SW,以使所述与所述GSW直接连接的SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由所述其他SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息。
结合第一方面,在第一方面的第三种可能的实现方式中,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
结合第一方面,或第一方面的上述任意一种可能的实现方式,在第一方面的第四种可能的实现方式中,在所述将所述Config LSA信息发送给与所述GSW通信连接的交换机SW之前,还包括:
所述GSW发送数据库描述DBD消息给与所述GSW直接连接的SW;
接收链路状态请求LSR消息,所述LSR消息是所述与所述GSW直接连接的SW根据接收到的所述DBD消息生成并发送的。
第二方面,本发明实施例提供一种配置点连接信息的获取方法,包括:
接收网关交换机GSW发送的配置链路状态通告Config LSA信息,所述GSW与配置点直接连接,所述Config LSA信息中包含所述配置点的连接信息,所述连接信息包括所述配置点的连接协议类型、网际协议IP地 址和端口号;
根据所述Config LSA信息获得所述配置点的连接信息。
结合第二方面,在第二方面的第一种可能的实现方式中,所述接收GSW发送的Config LSA信息,具体包括:
接收所述GSW发送的链路状态通告LSA信息;
根据所述LSA信息的指定字段的数值确定所述LSA信息为Config LSA信息。
结合第二方面,在第二方面的第二种可能的实现方式中,根据所述Config LSA信息获得所述配置点的连接信息具体包括:
在确定所述Config LSA信息中携带了多个配置点的连接信息时,根据所述Config LSA信息获得每一个配置点的连接信息。
结合第二方面,在第二方面的第三种可能的实现方式中,还包括:
将所述Config LSA信息发送给与其直接连接的SW,以便所述与其直接连接的SW根据所述Config LSA信息获得所述配置点的连接信息并将所述Config LSA信息发送给其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息;
其中,所述Config LSA信息携带在链路状态更新LSU消息中进行发送。
结合第二方面,在第二方面的第四种可能的实现方式中,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
结合第二方面或第二方面的上述任意一种可能的实现方式,在第二方面的第五种可能的实现方式中,在所述接收GSW发送的Config LSA信息之前,还包括:
接收所述GSW发送的数据库描述DBD消息;
根据所述DBD消息生成接收链路状态请求LSR消息并发送给所述GSW。
结合第二方面的第三种可能的实现方式,在第二方面的第六种可能的实现方式中,在所述将所述Config LSA信息发送给与其直接连接的SW之前,还包括:
发送数据库描述DBD消息给所述与其直接连接的SW;
接收链路状态请求LSR消息,所述LSR消息是所述与其直接连接的SW根据接收到的所述DBD消息生成并发送的。
第三方面,本发明实施例提供一种配置点连接信息的获取装置,包括:
构造模块,用于根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号,本装置与所述配置点直接连接;
发送模块,用于将所述Config LSA信息发送给与本装置通信连接的交换机SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息。
结合第三方面,在第三方面的第一种可能的实现方式中,在所述配置点为多个配置点时,所述构造模块,具体用于根据所述多个配置点各自的连接信息构造所述Config LSA信息;
所述发送模块,具体用于将所述Config LSA信息发送给与本装置通信连接的SW,以使所述SW获得所述Config LSA信息中携带的每一个配置点的连接信息。
结合第三方面,在第三方面的第二种可能的实现方式中,所述发送模块,具体用于:
将所述Config LSA信息携带在链路状态更新LSU消息中发送给与本装置直接连接的SW,以使所述与本装置直接连接的SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由所述其他SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与本装置通信连接的SW均收到所述Config LSA信息。
结合第三方面,在第三方面的第三种可能的实现方式中,所述配置点为开放流OpenFlow配置点,所述SW为开放流OpenFlow交换机。
结合第三方面或第三方面的上述任意一种可能的实现方式,在第三方面的第四种可能的实现方式中,所述发送模块,在将所述Config LSA信息发送给与本装置通信连接的交换机SW之前,还用于:
发送数据库描述DBD消息给与本装置直接连接的SW;
所述装置还包括:
接收模块,用于接收链路状态请求LSR消息,所述LSR消息是所述与本装置直接连接的SW根据接收到的所述DBD消息生成并发送的。
第四方面,本发明实施例提供一种配置点连接信息的获取装置,包括:
接收模块,用于接收网关交换机GSW发送的配置链路状态通告Config LSA信息,所述GSW与配置点直接连接,所述Config LSA信息中包含所述配置点的连接信息,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号;
获取模块,用于根据所述Config LSA信息获得所述配置点的连接信息。
结合第四方面,在第四方面的第一种可能的实现方式中,所述接收模块,具体用于:
接收所述GSW发送的链路状态通告LSA信息;
根据所述LSA信息的指定字段的数值确定所述LSA信息为ConfigLSA信息。
结合第四方面,在第四方面的第二种可能的实现方式中,所述获取模块,具体用于:
在确定所述Config LSA信息中携带了多个配置点的连接信息时,根据所述Config LSA信息获得每一个配置点的连接信息。
结合第四方面,在第四方面的第三种可能的实现方式中,还包括发送模块,用于:
将所述Config LSA信息发送给与其直接连接的SW,以便所述与其直接连接的SW根据所述Config LSA信息获得所述配置点的连接信息并将所述Config LSA信息发送给其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息,其中,所述Config LSA信息携带在链路状态更新LSU消息中进行发送。
结合第四方面的第三种可能的实现方式,在第四方面的第四种可能的实现方式中,所述接收模块在所述接收GSW发送的Config LSA信息之前,还用于接收所述GSW发送的数据库描述DBD消息;所述获取模块还 用于根据所述DBD消息生成接收链路状态请求LSR消息;所述发送模块还用于发送所述LSR消息给所述GSW。
结合第四方面的第三种可能的实现方式,在第四方面的第五种可能的实现方式中,所述发送模块在所述将所述Config LSA信息发送给与其直接连接的SW之前,还用于:
发送数据库描述DBD消息给所述与其直接连接的SW;
所述接收模块,还用于接收链路状态请求LSR消息,所述LSR消息是所述与其直接连接的SW根据接收到的所述DBD消息生成并发送的。
结合第四方面或第四方面的上述任意一种可能的实现方式中,在第四方面的第六种可能的实现方式中,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
本发明实施例中,网关交换机(Gateway Switch,简称GSW)通过将配置点的连接信息携带在配置链路状态通告(Configuration Link-StateAdvertisement,简称Config LSA)信息中,发送给混合组网中的交换机 (Switch,简称SW),就可以使得SW直接通过Config LSA信息获取到配置点的连接信息,从而基于该连接信息与配置点建立连接,避免了每一个SW都像现有技术一样通过连接电脑,并基于命令行或图像方式获取配置点的连接信息,减少了混合网络中的SW为获取配置点的连接信息需要部署的工作量,缩短了整个混合网络中交换机的配置时间总和,也避免了SW配置出错的情况发生,提升了系统效率。
附图说明
图1为OpenFlow配置点与OpenFlow交换机之间的交互示意图;
图2为本发明实施例设计的一种配置点连接信息的获取方法流程图;
图3为本发明实施例中OpenFlow交换机的hybrid模式的示意图;
图4为本发明实施例中混合网络的拓扑结构示意图;
图5为本发明实施例的混合网络中GSW和SW之间通告连接信息的示意图;
图6A为本发明实施例中的Config LSA信息的一种典型结构示意图;
图6B为本发明实施例中包含多个连接信息的Config LSA信息的结 构示意图;
图7为本发明实施例设计的另一种配置点连接信息的获取方法的流程图;
图8为本发明实施例中SW对接收的LSA信息的处理流程;
图9为本发明实施例设计的一种配置点连接信息的获取装置的结构示意图;
图10为本发明实施例设计的一种配置点连接信息的获取装置的一种可能的结构示意图;
图11为本发明实施例设计的另一种配置点连接信息的获取装置的结构示意图;
图12为本发明实施例设计的另一种配置点连接信息的获取装置的一种可能的结构示意图;
图13为本发明实施例设计的一种网关交换机的结构示意图;
图14为本发明实施例提供的一种交换机的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
下面结合说明书附图对本发明实施例作进一步详细描述。
参阅图2所示,本发明实施例设计了一种配置点连接信息的获取方法,包括如下步骤。
步骤201:GSW根据配置点的连接信息构造配置链路状态通告(configuration Link-State Advertisement,简称Config LSA)信息。其中,上述连接信息包括上述配置点的连接协议类型、网际协议IP地址和端口号,上述GSW与上述配置点直接连接。需要说明的是,本发明中所说的直接连接均是指两个网络实体间不经过其他网络实体进行通信转接。
步骤202:将上述Config LSA信息发送给与上述GSW通信连接的交换机(Switch,简称SW),以使上述SW获得上述Config LSA信息中携带的上述配置点的连接信息。
上述配置点可以是OpenFlow配置点,OpenFlow配置点可以是一个独立的网元,也可以是OpenFlow控制器(Controller)的一个组成部分。上述GSW或/和SW可以是支持Hybrid模式的OpenFlow交换机,也就是说,GSW或/和SW在支持OpenFlow协议的同时,还能够支持开放式最短路径优先(OSPF,Open Shortest Path First)协议或OSPF精简版(Lite)协议。
OpenFlow交换机的hybrid模式的示意图参阅图3所示。图3中虚线表示数据流走向,实线部分表示模块之间的交互。图3仅仅显示了一种可能的实现方式,实际应用中OpenFlow交换机的结构不限于图3显示出的这种可能。
图3中,控制面可以是能够实现控制功能的模块,例如,中央处理器(CPU,Central Processing Unit)。转发面可以是用于信息匹配和转发的硬件模块。数据在通过物理层端口(PHY Port,Port Physical Layer Port)进入OpenFlow交换机后,进入转发面。转发面判断接收到的数据是基于OpenFlow协议的还是基于OSPF协议或OSPF Lite协议的:
若该数据是非OSPF协议(例如,OpenFlow协议)的数据,则将该数据转发至OpenFlow协议模块进行处理;若该数据是基于OSPF协议或OSPF Lite协议的,则将该数据通过逻辑接口(Logic Port)转发至OSPF/OSPF Lite协议模块处理,其中OpenFlow协议模块和OSPF/OSPF Lite协议模块可以是协议相关软件程序。
也就是说,在OpenFlow交换机的控制面中运行OSPF或OSPF Lite协议来实现路由信息的通告和转发。
上述配置点的连接信息可以但不限于包括:该配置点的连接协议类型、IP地址和端口号。
较佳地,Config LSA信息中包含的连接信息可以是多个。例如,在一个Config LSA信息中可以包含3个配置点和2个控制器各自对应的连接信息。
因此,在上述配置点为多个配置点时,上述GSW根据上述多个配置 点各自的连接信息构造上述Config LSA信息,将上述Config LSA信息发送给与上述GSW通信连接的SW,以使上述SW获得上述Config LSA信息中携带的每一个配置点的连接信息。
可以任意选取一个与配置点直接连接的SW作为GSW。假设混合网络的拓扑结构如图4所示。配置点与GSW直接连接,GSW与其它SW一起构成一个域。
较佳地,将上述Config LSA信息发送给与上述GSW通信连接的SW,具体包括:
将上述Config LSA信息携带在链路状态更新LSU消息中发送给与上述GSW直接连接的SW,以使上述与上述GSW直接连接的SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由上述其他SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与上述GSW通信连接的SW均收到上述Config LSA信息。
在实现上述步骤201之前,还包括:
GSW发送链路状态更新(Link State Update,简称LSU)消息给与上述GSW直接连接的SW;
GSW接收链路状态请求(Link State Request,简称LSR)消息,上述LSR消息是上述与上述GSW直接连接的SW根据接收到的上述DBD消息生成并发送的。
参阅图5所示。图5为本发明实施例的混合网络中GSW和SW之间,基于Config LSA信息,通告连接信息的示意图。GSW将Config LSA信息发送给与其相邻的SW。与GSW相邻的SW再将接收到的Config LSA信息转发给其它SW。
本发明实施例中的Config LSA信息的一种典型结构参阅图6A所示,其类型字段链路状态(LS,Link State)type=n,其中,n为小于1或大于11的整数,通常情况下n是预设的固定值。
图6A中LS age表示链路状态年龄;
Options表示可选项;
LS Type表示链路状态类型,即为类型字段;
Link State ID表示链路状态识别码;
Adverting Router表示通告路由器;
LS Sequence number表示链路状态序列号;
LS checksum表示链路状态校验和;
Length表示长度;
Port表示配置点的端口号;
IP表示配置点的IP地址;
Conn Type表示配置点的连接协议类型,可以包括多种OF-CONFIG协议,例如,SSH、SOAP、BEEP、TLS协议、传输控制协议(TCP,Transmission Control Protocol)等。
参阅图6B所示,一个Config LSA信息中可以包括多个连接信息,图6B中Conn Type M表示第M个配置点的连接协议类型,Port M表示第M个配置点的端口号,IP M表示第M个配置点的IP地址,其中,M为大于1的正整数。
实施例一:
假设GSW与SW1,且GSW与SW2相邻,SW2与SW3相邻,SW3与GSW不相邻,SW1和SW2不相邻,SW1和SW3不相邻。
混合组网中的GSW/SW基于组播或广播方式,周期性地向相邻的GSW/SW发送Hello消息,以建立和维护邻接关系。具有邻接关系的GSW/SW相互之间交换数据库描述(DBD,Database Description)消息。DBD消息中包含了LSA信息的头部信息,用于描述链路状态数据库的摘要信息。
GSW在获取配置点的连接信息后,基于该连接信息生成Config LSA信息,此时,GSW的链路状态改变,然后,GSW生成新的DBD消息并发送给SW1和SW2。
SW1和SW2分别根据接收到的DBD消息,确定本地的Config LSA信息需要更新。此时,SW1就会生成链路状态请求(LSR,Link State Request)消息(LSR1),并将其发送给GSW,以请求GSW向SW1发送Config LSA信息;SW2也会生成LSR消息,并将其发送给GSW,以请求GSW向SW2发送Config LSA信息。
GSW在接收到SW1发送的LSR消息(LSR1)后,将Config LSA信息 携带在LSU消息中发送给SW1。GSW在接收到SW2发送的LSR消息(LSR2)后,将Config LSA信息携带在LSU消息中发送给SW2。
SW1从接收到的LSU消息中解析出Config LSA信息,并基于该Config LSA信息中的连接信息,与相应的配置点建立连接。
SW2从接收到的LSU消息中解析出Config LSA信息,并基于该Config LSA信息中的连接信息,与相应的配置点建立连接。此时,SW2的链路状态改变,然后,SW2生成新的DBD消息并发送给SW3。
SW3根据接收到的DBD消息,确定本地的Config LSA信息需要更新。此时,SW3就会生成链路状态请求(LSR,Link State Request)消息(LSR3),并将其发送给SW1,以请求SW2向SW3发送Config LSA信息。
SW2将GSW发送的Config LSA信息转发给SW3。
基于同一设计思路,本发明实施例还设计了一种配置点连接信息的获取方法,参阅图7所示,包括如下步骤。
步骤701:接收网关交换机GSW发送的配置链路状态通告Config LSA信息。上述GSW与配置点直接连接,上述Config LSA信息中包含上述配置点的连接信息。
步骤702:根据上述Config LSA信息获得上述配置点的连接信息。
其中,上述连接信息包括上述配置点的连接协议类型、网际协议IP地址和端口号。
步骤701可以通过下述具体地实现方式实现:
接收上述GSW发送的链路状态通告(Link-State Advertisement,简称LSA)信息;
根据上述LSA信息的指定字段的数值确定上述LSA信息为Config LSA信息。
较佳地,在确定上述Config LSA信息中携带了多个配置点的连接信息时,根据上述Config LSA信息获得每一个配置点的连接信息。
将上述Config LSA信息发送给与其直接连接的SW,以便上述与其直接连接的SW根据上述Config LSA信息获得上述配置点的连接信息并将上述Config LSA信息发送给其自身直接连接的其它SW,直至所有与上述GSW通信连接的SW均收到上述Config LSA信息;
其中,上述Config LSA信息携带在链路状态更新LSU消息中进行发送。
较佳地,上述配置点可以但不限于为OpenFlow配置点,上述GSW和上述SW可以但不限于为OpenFlow交换机。
在上述接收GSW发送的Config LSA信息之前,还包括:
接收上述GSW发送的数据库描述DBD消息;
根据上述DBD消息生成接收链路状态请求LSR消息并发送给上述GSW。
较佳地,在上述将上述Config LSA信息发送给与其直接连接的SW之前,还包括:
发送数据库描述DBD消息给上述与其直接连接的SW;
接收链路状态请求LSR消息,上述LSR消息是上述与其直接连接的SW根据接收到的上述DBD消息生成并发送的。
上述步骤的执行主体包括与GSW之间具有直接或间接通信连接的SW。
下面结合图8举例说明,混合网络中的某一个SW(例如,OpenFLow交换机)在接收到LSA信息后的处理流程。
步骤801:SW接收到LSA信息。
步骤802:SW判断该LSA信息是否为Config LSA信息,若是则执行步骤804,否则,执行步骤803。
实际应用中SW可以解析该LSA信息,在确定该LSA信息中类型字段的值为表征该LSA信息为Config LSA信息的预设固定值(该预设固定值可以是小于1或大于11的整数)时,判定该LSA信息是Config LSA信息。
步骤803:SW按照现有OSPF协议处理该LSA信息。
步骤804:SW根据该Config LSA信息中携带的连接信息,与相应的配置点建立连接。
在步骤804的实现过程中,SW解析出Config LSA信息中携带的连接信息中的连接协议类型、IP地址和端口号,然后向该IP地址和端口号对应的配置点发起连接建立请求,用以按照该连接协议类型,建立相应的 连接。
实际应用中,SW在确定上述Config LSA信息中携带了多个配置点的连接信息时,分别基于上述Config LSA信息中携带的每一个配置点对应的连接信息,与该配置点建立连接。
在混合组网中各个交换机获取到配置点的连接信息的过程如下:
(1)选取混合组网中与配置点直接连接的SW,作为GSW。
(2)GSW配置配置点的连接信息。
该连接信息包括连接协议类型、IP地址和端口号。
(3)GSW根据连接信息生成Config LSA信息。
该Config LSA信息的类型字段的值为n,其中,n为小于1大于11的整数。
(4)GSW将Config LSA信息发送给SW。
在这一过程中,混合组网内的所有SW以及GSW之间可以相互交换Config LSA信息,从而获取混合组网中每个配置点的连接信息。
(5)SW接收到LSA信息后,基于LSA信息的类型字段,判定该LSA信息为Config LSA信息时,读取该Config LSA信息中携带的连接信息。
(6)SW根据读取的连接信息,向相应的配置点发起连接,从而在SW与配置点之间建立通信连接。
基于同一设计思路,本发明实施例还提供了一种配置点连接信息的获取装置,参阅图9所示,该装置包括:
构造模块901,用于根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,上述连接信息包括上述配置点的连接协议类型、网际协议IP地址和端口号,本装置与上述配置点直接连接;
发送模块902,用于将上述Config LSA信息发送给与本装置通信连接的交换机SW,以使上述SW获得上述Config LSA信息中携带的上述配置点的连接信息。
较佳地,在上述配置点为多个配置点时,上述构造模块901具体用于,根据上述多个配置点各自的连接信息构造上述Config LSA信息,上述发送模块902,具体用于将上述Config LSA信息发送给与本装置通信连接的SW,以使上述SW获得上述Config LSA信息中携带的每一个配置 点的连接信息。
较佳地,上述发送模块901,具体用于:
将上述Config LSA信息携带在链路状态更新LSU消息中发送给与本装置直接连接的SW,以使上述与本装置直接连接的SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由上述其他SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与本装置通信连接的SW均收到上述Config LSA信息。
实际应用中,上述配置点可以但不限于为OpenFlow配置点,上述SW可以但不限于为OpenFlow交换机。
较佳地,参阅图10所示,上述装置还可以包括接收模块903,上述发送模块902,在将上述Config LSA信息发送给与本装置通信连接的交换机SW之前,还用于:
发送数据库描述DBD消息给与本装置直接连接的SW;
接收模块903,用于接收链路状态请求LSR消息,上述LSR消息是上述与本装置直接连接的SW根据接收到的上述DBD消息生成并发送的。
基于同一设计思路,本发明实施例还提供另一种配置点连接信息的获取装置,参阅图11所示,包括:
接收模块1001,用于接收网关交换机GSW发送的配置链路状态通告Config LSA信息,上述GSW与配置点直接连接,上述Config LSA信息中包含上述配置点的连接信息,上述连接信息包括上述配置点的连接协议类型、网际协议IP地址和端口号;
获取模块1002,用于根据上述Config LSA信息获得上述配置点的连接信息。
较佳地,上述接收模块1001,具体用于:
接收上述GSW发送的LSA信息;
根据上述LSA信息的指定字段的数值确定上述LSA信息为ConfigLSA信息。
较佳地,上述获取模块1002,具体用于:
在确定上述Config LSA信息中携带了多个配置点的连接信息时,根 据上述Config LSA信息获得每一个配置点的连接信息。
参阅图12所示,上述装置还可以包括发送模块1003,用于:
将上述Config LSA信息发送给与其直接连接的SW,以便上述与其直接连接的SW根据上述Config LSA信息获得上述配置点的连接信息并将上述Config LSA信息发送给其自身直接连接的其它SW,直至所有与上述GSW通信连接的SW均收到上述Config LSA信息,其中,上述Config LSA信息携带在链路状态更新LSU消息中进行发送。
实际应用中,上述配置点可以但不限于为OpenFlow配置点,上述GSW和上述SW可以但不限于为OpenFlow交换机。
较佳地,上述接收模块1001在上述接收GSW发送的Config LSA信息之前,还用于接收上述GSW发送的数据库描述DBD消息;上述获取模块1002还用于根据上述DBD消息生成接收链路状态请求LSR消息;上述发送模块1003还用于发送上述LSR消息给上述GSW。
较佳地,上述发送模块1003在上述将上述Config LSA信息发送给与其直接连接的SW之前,还用于:
发送数据库描述DBD消息给上述与其直接连接的SW;
上述接收模块1001还用于接收链路状态请求LSR消息,上述LSR消息是上述与其直接连接的SW根据接收到的上述DBD消息生成并发送的。
上述装置是与方法流程一一对应的,在此不再赘述。
基于同一设计思路,本发明实施例还提供给了一种网关交换机。参阅图13所示,该网关交换机包括收发器1201、处理器1202、存储器1203、和总线1204,该收发器1201、处理器1202和存储器1203通过总线1204连接并完成相互间的通信,其中:
该总线1204可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线1204可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条线表示,但并不表示仅有一根总线或一种类型的总线。
存储器1203用于存储程序代码,该程序代码包括操作指令。存储器1203可能包括高速随机存储器(random access memory,RAM),也可能 包括非易失性存储器(non-volatile memory),例如磁盘存储器。
处理器1202可能是一个中央处理器(Central Processing Unit,CPU),或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
收发器1201可以用于向与本网关交换机通信连接的SW发送信息。
上述处理器1202,用于调用上述存储器1203中的程序代码,执行以下操作:
根据配置点的连接信息构造Config LSA信息,其中,上述连接信息包括上述配置点的连接协议类型、IP地址和端口号,本网关交换机与上述配置点直接连接;
通过上述收发器1201将上述Config LSA信息发送给与本网关交换机通信连接的SW,以使上述SW获得上述Config LSA信息中携带的上述配置点的连接信息。
较佳地,上述处理器1202,具体用于调用上述存储器1203中的程序代码执行以下操作:
在上述配置点为多个配置点时,根据上述多个配置点各自的连接信息构造上述Config LSA信息,调用上述收发器1202将上述Config LSA信息发送给与上述GSW通信连接的SW,以使上述SW获得上述Config LSA信息中携带的每一个配置点的连接信息。
较佳地,上述收发器1202具体用于:
将上述Config LSA信息携带在LSU消息中发送给与上述GSW直接连接的SW,以使上述与本网关交换机直接连接的SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由上述其他SW将上述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与本网关交换机通信连接的SW均收到上述Config LSA信息。
实际应用中,上述配置点可以但不限于为OpenFlow配置点,本网关交换机和上述SW可以但不限于为OpenFlow交换机。
较佳地,上述收发器1202,在将上述Config LSA信息发送给与本装置通信连接的交换机SW之前,还用于:
发送数据库描述DBD消息给与本装置直接连接的SW;
接收链路状态请求LSR消息,上述LSR消息是上述与本装置直接连接的SW根据接收到的上述DBD消息生成并发送的。
基于同一设计思路,本发明实施例还提供给了一种交换机。参阅图14所示,该网关交换机包括收发器1301、处理器1302、存储器1303、和总线1304,该收发器1301、处理器1302和存储器1303通过总线1304连接并完成相互间的通信,其中:
该总线1304可以是PCI总线或EISA总线等。该总线1304可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条线表示,但并不表示仅有一根总线或一种类型的总线。
存储器1303用于存储程序代码,该程序代码包括操作指令。存储器1303可能包括RAM,也可能包括非易失性存储器,例如磁盘存储器。
处理器1302可能是一个CPU,或者是ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。
收发器1301用于接收网关交换机GSW发送的配置链路状态通告Config LSA信息,上述GSW与配置点直接连接,上述Config LSA信息中包含上述配置点的连接信息,上述连接信息包括上述配置点的连接协议类型、网际协议IP地址和端口号。
上述处理器1302,具体用于调用上述存储器1303中的程序代码执行以下操作:
根据上述Config LSA信息获得上述配置点的连接信息。
较佳地,上述收发器1301,具体用于:
接收上述GSW发送的LSA信息;
根据上述LSA信息的指定字段的数值确定上述LSA信息为ConfigLSA信息。
较佳地,上述收发器1301具体用于:
在确定上述Config LSA信息中携带了多个配置点的连接信息时,根据上述Config LSA信息获得每一个配置点的连接信息。
本发明实施例中,GSW通过将配置点的连接信息携带在Config LSA信息中,发送给混合组网中的SW,就可以使得SW直接通过Config LSA 信息获取到配置点的连接信息,从而基于该连接信息与配置点建立连接,避免了每一个SW都像现有技术一样通过连接电脑,并基于命令行或图像方式获取配置点的连接信息,减少了混合网络中的SW为获取配置点的连接信息需要部署的工作量,缩短了整个混合网络中交换机的配置时间总和,也避免了SW配置出错的情况发生,提升了系统效率。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (24)

  1. 一种配置点连接信息的获取方法,其特征在于,包括:
    网关交换机GSW根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号,所述GSW与所述配置点直接连接;
    将所述Config LSA信息发送给与所述GSW通信连接的交换机SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息。
  2. 如权利要求1所述的方法,其特征在于,在所述配置点为多个配置点时,
    所述GSW根据配置点的连接信息构造Config LSA信息,具体为:所述GSW根据所述多个配置点各自的连接信息构造所述Config LSA信息;
    所述将所述Config LSA信息发送给与所述GSW通信连接的SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息,具体为:
    将所述Config LSA信息发送给与所述GSW通信连接的SW,以使所述SW获得所述Config LSA信息中携带的每一个配置点的连接信息。
  3. 如权利要求1所述的方法,其特征在于,所述将所述Config LSA信息发送给与所述GSW通信连接的SW,具体包括:
    将所述Config LSA信息携带在链路状态更新LSU消息中发送给与所述GSW直接连接的SW,以使所述与所述GSW直接连接的SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由所述其他SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息。
  4. 如权利要求1所述的方法,其特征在于,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
  5. 如权利要求1至4任一所述的方法,其特征在于,在所述将所述Config LSA信息发送给与所述GSW通信连接的交换机SW之前,还包括:
    所述GSW发送数据库描述DBD消息给与所述GSW直接连接的 SW;
    接收链路状态请求LSR消息,所述LSR消息是所述与所述GSW直接连接的SW根据接收到的所述DBD消息生成并发送的。
  6. 一种配置点连接信息的获取方法,其特征在于,包括:
    接收网关交换机GSW发送的配置链路状态通告Config LSA信息,所述GSW与配置点直接连接,所述Config LSA信息中包含所述配置点的连接信息,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号;
    根据所述Config LSA信息获得所述配置点的连接信息。
  7. 如权利要求6所述的方法,其特征在于,所述接收GSW发送的Config LSA信息,具体包括:
    接收所述GSW发送的链路状态通告LSA信息;
    根据所述LSA信息的指定字段的数值确定所述LSA信息为Config LSA信息。
  8. 如权利要求6所述的方法,其特征在于,根据所述Config LSA信息获得所述配置点的连接信息具体包括:
    在确定所述Config LSA信息中携带了多个配置点的连接信息时,根据所述Config LSA信息获得每一个配置点的连接信息。
  9. 如权利要求6所述的方法,其特征在于,还包括:
    将所述Config LSA信息发送给与其直接连接的SW,以便所述与其直接连接的SW根据所述Config LSA信息获得所述配置点的连接信息并将所述Config LSA信息发送给其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息;
    其中,所述Config LSA信息携带在链路状态更新LSU消息中进行发送。
  10. 如权利要求6所述的方法,其特征在于,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
  11. 如权利要求6至10任一所述的方法,其特征在于,在所述接收GSW发送的Config LSA信息之前,还包括:
    接收所述GSW发送的数据库描述DBD消息;
    根据所述DBD消息生成接收链路状态请求LSR消息并发送给所述GSW。
  12. 如权利要求9所述的方法,其特征在于,在所述将所述Config LSA信息发送给与其直接连接的SW之前,还包括:
    发送数据库描述DBD消息给所述与其直接连接的SW;
    接收链路状态请求LSR消息,所述LSR消息是所述与其直接连接的SW根据接收到的所述DBD消息生成并发送的。
  13. 一种配置点连接信息的获取装置,其特征在于,包括:
    构造模块,用于根据配置点的连接信息构造配置链路状态通告Config LSA信息,其中,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号,本装置与所述配置点直接连接;
    发送模块,用于将所述Config LSA信息发送给与本装置通信连接的交换机SW,以使所述SW获得所述Config LSA信息中携带的所述配置点的连接信息。
  14. 如权利要求13所述的装置,其特征在于,在所述配置点为多个配置点时,所述构造模块,具体用于根据所述多个配置点各自的连接信息构造所述Config LSA信息;
    所述发送模块,具体用于将所述Config LSA信息发送给与本装置通信连接的SW,以使所述SW获得所述Config LSA信息中携带的每一个配置点的连接信息。
  15. 如权利要求13所述的装置,其特征在于,所述发送模块,具体用于:
    将所述Config LSA信息携带在链路状态更新LSU消息中发送给与本装置直接连接的SW,以使所述与本装置直接连接的SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,并由所述其他SW将所述Config LSA信息携带在LSU消息中发送给与其自身直接连接的其它SW,直至所有与本装置通信连接的SW均收到所述Config LSA信息。
  16. 如权利要求13所述的装置,其特征在于,所述配置点为开放流OpenFlow配置点,所述SW为开放流OpenFlow交换机。
  17. 如权利要求13至16任一所述的装置,其特征在于,所述发送模块,在将所述Config LSA信息发送给与本装置通信连接的交换机SW之前,还用于:
    发送数据库描述DBD消息给与本装置直接连接的SW;
    所述装置还包括:
    接收模块,用于接收链路状态请求LSR消息,所述LSR消息是所述与本装置直接连接的SW根据接收到的所述DBD消息生成并发送的。
  18. 一种配置点连接信息的获取装置,其特征在于,包括:
    接收模块,用于接收网关交换机GSW发送的配置链路状态通告Config LSA信息,所述GSW与配置点直接连接,所述Config LSA信息中包含所述配置点的连接信息,所述连接信息包括所述配置点的连接协议类型、网际协议IP地址和端口号;
    获取模块,用于根据所述Config LSA信息获得所述配置点的连接信息。
  19. 如权利要求18所述的装置,其特征在于,所述接收模块,具体用于:
    接收所述GSW发送的链路状态通告LSA信息;
    根据所述LSA信息的指定字段的数值确定所述LSA信息为Config LSA信息。
  20. 如权利要求18所述的装置,其特征在于,所述获取模块,具体用于:
    在确定所述Config LSA信息中携带了多个配置点的连接信息时,根据所述Config LSA信息获得每一个配置点的连接信息。
  21. 如权利要求18所述的装置,其特征在于,还包括:
    发送模块,用于将所述Config LSA信息发送给与其直接连接的SW,以便所述与其直接连接的SW根据所述Config LSA信息获得所述配置点的连接信息并将所述Config LSA信息发送给其自身直接连接的其它SW,直至所有与所述GSW通信连接的SW均收到所述Config LSA信息,其中,所述Config LSA信息携带在链路状态更新LSU消息中进行发送。
  22. 如权利要求21所述的装置,其特征在于,所述接收模块在所述接收GSW发送的Config LSA信息之前,还用于接收所述GSW发送的数据库描述DBD消息;所述获取模块还用于根据所述DBD消息生成接收链路状态请求LSR消息;所述发送模块还用于发送所述LSR消息给所述GSW。
  23. 如权利要求21所述的装置,其特征在于,所述发送模块在所 述将所述Config LSA信息发送给与其直接连接的SW之前,还用于:
    发送数据库描述DBD消息给所述与其直接连接的SW;
    所述接收模块,还用于接收链路状态请求LSR消息,所述LSR消息是所述与其直接连接的SW根据接收到的所述DBD消息生成并发送的。
  24. 如权利要求18至23任一所述的装置,其特征在于,所述配置点为开放流OpenFlow配置点,所述GSW和所述SW为开放流OpenFlow交换机。
PCT/CN2014/088436 2013-10-17 2014-10-13 一种配置点连接信息的获取方法及装置 WO2015055103A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310487633.5 2013-10-17
CN201310487633.5A CN104580021B (zh) 2013-10-17 2013-10-17 一种配置点连接信息的获取方法及装置

Publications (1)

Publication Number Publication Date
WO2015055103A1 true WO2015055103A1 (zh) 2015-04-23

Family

ID=52827663

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088436 WO2015055103A1 (zh) 2013-10-17 2014-10-13 一种配置点连接信息的获取方法及装置

Country Status (2)

Country Link
CN (1) CN104580021B (zh)
WO (1) WO2015055103A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707470B (zh) * 2016-08-09 2021-03-16 中兴通讯股份有限公司 Ospf区域号配置方法及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102325A (zh) * 2006-11-09 2008-01-09 华为技术有限公司 通告自治系统边界连接信息的方法和装置
US20120300615A1 (en) * 2011-05-23 2012-11-29 Telefonaktiebolaget L M Ericsson (Publ) Implementing EPC in a Cloud Computer with OpenFlow Data Plane
WO2013021304A1 (en) * 2011-08-11 2013-02-14 Telefonaktiebolaget L M Ericsson (Publ) Implementing ospf in split architecture networks
WO2013030693A1 (en) * 2011-08-29 2013-03-07 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3g packet core in a cloud computer with openflow data and control planes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461784C (zh) * 2006-04-10 2009-02-11 杭州华三通信技术有限公司 一种从网关设备之间进行通信的方法和系统
CN103209121B (zh) * 2013-03-15 2019-02-01 中兴通讯股份有限公司 基于开放流协议的控制面设备的发现处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102325A (zh) * 2006-11-09 2008-01-09 华为技术有限公司 通告自治系统边界连接信息的方法和装置
US20120300615A1 (en) * 2011-05-23 2012-11-29 Telefonaktiebolaget L M Ericsson (Publ) Implementing EPC in a Cloud Computer with OpenFlow Data Plane
WO2013021304A1 (en) * 2011-08-11 2013-02-14 Telefonaktiebolaget L M Ericsson (Publ) Implementing ospf in split architecture networks
WO2013030693A1 (en) * 2011-08-29 2013-03-07 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3g packet core in a cloud computer with openflow data and control planes

Also Published As

Publication number Publication date
CN104580021B (zh) 2018-07-13
CN104580021A (zh) 2015-04-29

Similar Documents

Publication Publication Date Title
Hans et al. Wireless SDN mobile ad hoc network: From theory to practice
JP6014279B2 (ja) ネットワーク仮想化のデータ伝送のための方法、デバイス、及びルーティングシステム
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
EP3046293B1 (en) Method for determining path computation unit and communication device
JP2014175924A (ja) 伝送システム、伝送装置、及び伝送方法
WO2014047784A1 (zh) 报文转发路径确定方法及网络设备、控制设备
WO2015055016A1 (zh) 网元设备配置和管理方法、装置及网元设备
US20130003729A1 (en) Clearing forwarding entries dynamically and ensuring consistency of tables across ethernet fabric switch
EP3179679B1 (en) Method and device for link state information announcement
CN110324225B (zh) 一种处理报文的方法及装置
CN114826891A (zh) Tsn中控制器间通信的方法、装置及系统
WO2018121257A1 (zh) 报文发送方法、装置、系统以及存储介质
WO2015035616A1 (zh) 跨网通信方法及装置
US20200314005A1 (en) Systems and methods for establishing communication links between networks and devices with different routing protocols
CN114465946A (zh) 获取转发表项的方法、装置以及系统
US20090129387A1 (en) Extending an ip everywhere network over a plurality of flooding domains
JP2016208513A (ja) 中継方法並びに対応する通信ネットワークデバイス、システム、コンピュータプログラム及びコンピュータ可読記憶媒体
CN112910704B (zh) 一种支持动态自适应网络配置的局域网系统、方法和装置
WO2014071811A1 (zh) Trill网络构建方法、节点及系统
US11128558B2 (en) Automatic routing configuration between hosts and network layer devices
CN107231249B (zh) 转发节点的物理拓扑信息的获取方法、控制器和转发节点
WO2015055103A1 (zh) 一种配置点连接信息的获取方法及装置
US20140211604A1 (en) Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network
JP6631065B2 (ja) 通信路切替装置、通信路切替装置の制御方法、及びプログラム
US10193941B2 (en) Interworking between first protocol entity of stream reservation protocol and second protocol entity of routing protocol

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: 14853425

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: 14853425

Country of ref document: EP

Kind code of ref document: A1