SDN connection judging method, device and system
A technology for connection judgment and switching, which is applied in the field of communication, and can solve problems such as inconvenient maintenance and manual configuration of connection relationships
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The embodiment of this application provides a method for judging SDN connection, which is applied to the above system, refer to figure 2 As shown in , the method includes:
[0034] S101. The OpenFlow switch establishes a control communication channel with the SDN controller to obtain an upstream port of the machine.
[0035] In this application, the port used by the OpenFlow switch to connect to the SDN controller is marked as the "upstream port" of the switch, and the upstream port is the port on the OpenFlow switch that has received the message sent by the SDN controller. The port of the OpenFlow switch connected to the SDN controller may be a direct connection port or a non-direct connection port. After each OpenFlow switch completes the establishment of a control communication channel with the SDN controller, each switch can automatically identify the local "upstream port". At the same time, the port on the OpenFlow switch connected to the upstream ports of other...
Embodiment 2
[0055] The embodiment of this application provides another SDN connection judgment method, which is applied to the above-mentioned system, refer to Image 6 As shown in , the method includes:
[0056] S201. The OpenFlow switch establishes a control communication channel with the SDN controller to obtain an upstream port of the machine.
[0057] This step corresponds to S101.
[0058] refer to Image 6 Shown in is a specific example of a communication system in the embodiment of this application. After switch 1 to switch 5 complete the establishment of control communication channels with the SDN controller, each switch can automatically identify the "upstream port" of the machine, as follows:
[0059] {Switch 1: switch1, upstream port: p1-1}
[0060] {switch2: switch2, upstream port: p2-1}
[0061] {Switch 3: switch3, upstream port: p3-1}
[0062] {Switch 4: switch4, upstream port: p4-1}
[0063] {Switch 5: switch5, upstream port: p5-1}
[0064] S202. The OpenFlow switc...
Embodiment 3
[0133] The embodiment of the present application provides an OpenFlow switch, which is applied to the above method, refer to Figure 7 As shown in, the switch 12 includes:
[0134] The obtaining unit 1201 is configured to establish a control communication channel with the SDN controller to obtain the upstream port of the local machine.
[0135] The sending unit 1202 is configured to send a first advertisement message through an upstream port, where the first advertisement message includes identification information of the OpenFlow switch.
[0136] The receiving unit 1203 is configured to receive a first response message sent by the upstream switch, where the first response message includes identification information of the upstream switch.
[0137] The acquiring unit 1201 is further configured to acquire an upstream neighbor switch record table corresponding to the upstream port according to the identification information of the upstream port and the upstream switch.
[0138...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


