摘要:
Embodiments of the present invention disclose a method for acquiring, by an SDN switch, an exact flow entry, applied to an SDN network, where the SDN network includes an SDN controller and multiple SDN switches, the SDN controller communicates with each SDN switch in an inband communication manner, and the method includes: first establishing, by a first SDN switch, a reliable connection to the SDN controller; then, sending a first control message based on a packet corresponding to a protocol for the reliable connection; adding path information of the first SDN switch to the control message; and subsequently, also adding, by each SDN switch that receives the first control message, path information of each SDN switch to the first control message, so that finally, the SDN controller knows an entire path, so as to deliver a flow table to the first SDN switch.
摘要:
This application discloses a link-state advertisement LSA sending method, an apparatus, and a system, and relates to the communications field, to reduce a quantity of LSA sending times. The method includes: generating, by a first router, a first path table based on level location information of the first router, level location information of a second router, and level location information of at least one third router; sending, by the first router, a first link state update LSU message to the second router; receiving, by the second router, the first link state update LSU message from the first router; updating, by the second router, a link state database LSDB of the second router based on a first LSA; and sending, by the second router, the first LSA to a router corresponding to an identifier in the first path table. Embodiments of this application are applied to sending an LSA in a leaf-spine topology or a fat-tree topology.
摘要:
Embodiments of this application disclose a topology determining method, used by an OFC to determine a complete topology structure of a hybrid SDN-IP network. The method in the embodiments of this application includes: receiving, by an OFC, a first message forwarded by a first OFS, where a first port of the first OFS is connected to a second port of a first TS, and the first message includes identification information of the first TS and information about the second port; determining information about a link from the first TS to the first OFS based on the first message; sending a second message to the first OFS, and instructing the first OFS to forward the second message on the first port, so that the first TS obtains information about a link from the first OFS to the first TS; sending a third message, where the third message is used to request management information base MIB information of the first TS; receiving a response message of the third message, where the response message of the third message carries the MIB information of the first TS; and obtaining the information about the link from the first OFS to the first TS and information about a link from a second TS to the first TS based on the MIB information of the first TS.
摘要:
The present invention pertains to the field of communications technologies and discloses a network topology determining method and apparatus, and a centralized network status information storage device. The method includes: obtaining first network status information, where the first network status information includes device information of first switching devices, link information between the first switching devices, device information of second switching devices that are connected to the first switching devices and that are not controlled by a first centralized network status information storage device, and link information between the first switching devices and the second switching devices that are respectively connected to the first switching devices; receiving second network status information sent by a second centralized network status information storage device; and determining, according to the first network status information and the second network status information, a network topology of a management domain or an autonomous system to which the first centralized network status information storage device belongs. According to the present invention, a network topology of a same management domain or autonomous system is determined, so as to facilitate uniform scheduling of resources between different devices.
摘要:
This application provides a communication method and a communications device, so that both a location and a length of information carried in a data packet header are flexible and variable, the length does not need to be fixed, and the location does not need to be specified. Compared with a conventional protocol, the communication method has stronger flexibility and higher scalability. The method includes: obtaining, by a first device, a data packet, where the data packet includes a first packet header, the first packet header includes first indication information and a value of first packet header information, the first indication information is used to indicate a location of the value of the first packet header information, and the first packet header information is device identification information; and processing, by the first device, the data packet.
摘要:
The present invention discloses a service data packet encapsulation method and apparatus. The method includes at least: obtaining, by a source communications device, a mobility support parameter of a current service, where the mobility support parameter is used to indicate whether a corresponding service requires mobility support, and the source communications device includes at least an ID identifier layer and a locator locator layer; determining, by the source communications device based on the mobility support parameter of the current service, whether the current service requires mobility support; and obtaining, by the source communications device, a source locator of the source communications device and a destination locator of a destination communications device when determining that the current service does not require mobility support, and performing, by using the source locator and the destination locator, locator layer encapsulation on a data packet that needs to be sent by the current service. According to the method and the apparatus in the present invention, network overheads can be reduced.