Network control method and apparatus
First Claim
1. A method, comprising:
- receiving, by a first network controller, a request message of a forwarding plane device, wherein the request message comprises information that indicates a network event and information that instructs to request a processing policy of the network event, wherein the first network controller is a primary network controller of the forwarding plane device;
sending, by the first network controller, the request message to a primary network controller of the first network controller;
receiving, by the first network controller, a reject message sent by the primary network controller of the first network controller to reject sending the processing policy to the first network controller, based on the primary network controller of the first network controller having determined, according to the request message, that the primary network controller of the first network controller cannot provide the processing policy;
when the first network controller determines, according to the request message, that the first network controller cannot provide the processing policy, sending, by the first network controller, according to the reject message, the request message to a second network controller, to request the second network controller to provide the processing policy to the first network controller, wherein the second network controller is a secondary network controller of the first network controller, and the secondary network controller of the first network controller is at a same level with the primary network controller of the first network controller; and
receiving, by the first network controller, the processing policy sent by the second network controller, and sending the received processing policy to the forwarding plane device.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a network control method and apparatus. The network control method includes: receiving, by a first network controller, a request message of a forwarding plane device, where the request message includes information that is used to indicate a network event and information that is used to instruct to request a processing policy of the network event, and the first network controller is a primary network controller of the forwarding plane device; and if the first network controller determines, according to the request message, that the first network controller cannot provide the processing policy, sending, by the first network controller, the request message to a second network controller, receiving the processing policy sent by the second network controller, and sending the received processing policy to the forwarding plane device.
8 Citations
9 Claims
-
1. A method, comprising:
-
receiving, by a first network controller, a request message of a forwarding plane device, wherein the request message comprises information that indicates a network event and information that instructs to request a processing policy of the network event, wherein the first network controller is a primary network controller of the forwarding plane device; sending, by the first network controller, the request message to a primary network controller of the first network controller; receiving, by the first network controller, a reject message sent by the primary network controller of the first network controller to reject sending the processing policy to the first network controller, based on the primary network controller of the first network controller having determined, according to the request message, that the primary network controller of the first network controller cannot provide the processing policy; when the first network controller determines, according to the request message, that the first network controller cannot provide the processing policy, sending, by the first network controller, according to the reject message, the request message to a second network controller, to request the second network controller to provide the processing policy to the first network controller, wherein the second network controller is a secondary network controller of the first network controller, and the secondary network controller of the first network controller is at a same level with the primary network controller of the first network controller; and receiving, by the first network controller, the processing policy sent by the second network controller, and sending the received processing policy to the forwarding plane device. - View Dependent Claims (2, 3, 4)
-
-
5. A method, comprising:
-
receiving, by a second network controller, a request message sent by a first network controller, wherein; the request message comprises a network event, and requests a processing policy of the network event; the request message is sent to the second network controller by the first network controller after the first network controller has received the request message from a forwarding plane device or from a lower-level network controller of the first network controller, and after the first network controller has determined, according to the request message, that the first network controller cannot provide the processing policy; the request message has been sent by the first network controller to a primary network controller of the first network controller after the first network controller has received the request message, and has been sent to the second network controller by the first network controller after the primary network controller of the first network controller has determined, according to the request message, that the primary network controller of the first network controller cannot provide the processing policy, and after the primary network controller has sent a reject message to the first network controller; and the second network controller is a secondary network controller of the first network controller, and the secondary network controller of the first network controller is at a same level with the primary network controller of the first network controller; and sending, by the second network controller, the processing policy to the first network controller, causing the first network controller to send the processing policy to the forwarding plane device or to the lower-level network controller of the first network controller.
-
-
6. An apparatus, comprising:
-
a receiver, configured to receive a request message of a forwarding plane device, wherein the request message comprises information that indicates a network event and information that instructs to request a processing policy of the network event; and a transmitter, configured to send the request message to a primary network controller of a first network controller; wherein the receiver is further configured to receive a reject message sent by the primary network controller of the first network controller to reject sending the processing policy to the first network controller, based on the primary network controller of the first network controller having determined, according to the request message, that the primary network controller of the first network controller cannot provide the processing policy; wherein the transmitter is further configured to send, when the first network controller has determined, according to the request message, that the first network controller cannot provide the processing policy, according to the reject message, the request message to a second network controller, to request the second network controller to provide the processing policy to the first network controller, wherein the first network controller is a primary network controller of the forwarding plane device, wherein the second network controller is a secondary network controller of the first network controller, and wherein the secondary network controller of the first network controller is at a same level with the primary network controller of the first network controller; wherein the receiver is further configured to receive the processing policy sent by the second network controller; and wherein the transmitter is further configured to send the received processing policy to the forwarding plane device. - View Dependent Claims (7)
-
-
8. An apparatus, comprising:
-
a receiver, configured to receive a request message sent by a first network controller, wherein the request message comprises a network event, and requests a processing policy of the network event, wherein the request message is sent to a second network controller by the first network controller after the first network controller has received the request message from a forwarding plane device or from a lower-level network controller of the first network controller, and after the first network controller has determined, according to the request message, that the first network controller cannot provide the processing policy, wherein the request message has been sent by the first network controller to a primary network controller of the first network controller after the first network controller has received the request message, and has been sent to the second network controller by the first network controller after the primary network controller of the first network controller has determined, according to the request message, that the primary network controller of the first network controller cannot provide the processing policy, and after the primary network controller has sent a reject message to the first network controller, and the second network controller is a secondary network controller of the first network controller, and the secondary network controller of the first network controller is at a same level with the primary network controller of the first network controller; and a transmitter, configured to send the processing policy to the first network controller, causing the first network controller to send the processing policy to the forwarding plane device or to the lower-level network controller of the first network controller. - View Dependent Claims (9)
-
Specification