SDN, method for forwarding packet by SDN, and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorWenJing Wu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention provide an SDN, a method for forwarding a packet by an SDN, and an apparatus. The SDN includes an SDN controller and an SDN switch, the SDN switch includes a processor and a data path, and the SDN switch further includes: a first transceiver, configured to: receive a first packet, determine that the first packet is to be sent to the SDN controller, and forward the first packet to a channel agent module; and the channel agent module, configured to: add address information of the SDN controller to the first packet, encapsulate the first packet into a second packet, and send the second packet to the controller. The first transceiver is further configured to receive a third packet sent by the SDN controller, and forward the third packet to the channel agent module.
Claims10
A software defined network, wherein the software defined network (SDN) comprises an SDN controller and an SDN switch, the SDN switch comprising a processor, a data path and a channel agent, and the SDN switch further comprises:
- a first transceiver, configured to:
- receive a first packet, determine that the first packet is to be sent to the SDN controller, and forward the first packet to the channel agent;
- and
- the channel agent, configured to:
- add address information of the SDN controller to the first packet, encapsulate the first packet into a second packet, and send the second packet to the SDN controller, wherein
- the first transceiver is further configured to:
- receive control information and address information in a third packet sent by the SDN controller, and forward the third packet to the channel agent, wherein the control information and the address information in the third packet comprise an IP address of the SDN switch, an IP address of the SDN controller, and an OpenFlow version number, and
- the channel agent is further configured to:
- delete the control information and the address information in the third packet, convert the third packet into a fourth packet, and send the fourth packet to a corresponding port or flow table according to at least one of a port number or a flow table number that is carried in the control information in the third packet.
A method for forwarding a packet by a software defined network (SDN), comprising:
- receiving a first packet, determining that the first packet is to be sent to an SDN controller, and forwarding the first packet to a channel agent;
- adding, by the channel agent, address information of the SDN controller to the first packet, encapsulating the first packet into a second packet, and
- sending the second packet to the SDN controller;
- and
- receiving control information and address information in a third packet sent by the SDN controller, and forwarding the third packet to the channel agent, wherein the control information and the address information in the third packet comprise an IP address of an SDN switch, an IP address of the SDN controller and an OpenFlow version number;
- and
- deleting, by the channel agent, the control information and the address information in the third packet, converting the third packet into a fourth packet, and sending the fourth packet to a corresponding port or flow table according to at least one of a port number or a flow table number that is carried in the control information in the third packet.
Dependencies are inferred from the claim text.