System and method for traffic distribution with optical switch
A computer-implemented method of distributing traffic includes distributing, to a first distributed unit (DU), traffic via a first path, receiving, from the first DU, an indication generated by a first dry contact alarm of the first DU that a state has changed in the first DU, switching, by an optical switch, the traffic from the first path to a second path based on the indication from the first DU, and distributing, to a second DU, the traffic via the second path.
1 . A computer-implemented method of distributing traffic, comprising:
distributing, to a first distributed unit (DU), traffic via a first path;
receiving, from the first DU, an indication generated by a first dry contact alarm of the first DU that a state has changed in the first DU;
switching, by an optical switch, the traffic from the first path to a second path based on the indication from the first DU, wherein the switched traffic does not flow to the first DU; and
distributing, to a second DU, the traffic via the second path,
wherein the method further comprises:
in response to receiving the indication that the state has changed in the first DU, sending, from the optical switch, an alarm to the second DU indicating that the state has changed in the first DU; and
transmitting, from the second DU to a server device, the alarm indicating that the state has changed in the first DU.
2 . The method of claim 1 , wherein the indication that the state has changed in the first DU comprises an input alarm received by the optical switch from the first DU.
3 . The method of claim 1 , wherein the optical switch comprises a second dry contact alarm.
4 . The method of claim 3 , further comprising, in response to receiving the indication that the state has changed in the first DU, opening first pins of the optical switch corresponding to the first DU.
5 . The method of claim 4 , further comprising, in response to receiving the indication that the state has changed in the first DU, closing second pins of the optical switch that are different from the first pins, the second pins corresponding to the second DU.
6 . The method of claim 5 , further comprising, in response to the second pins being closed, transmitting, from the second DU to a server device, an alarm indicating that the state has changed in the first DU.
7 . The method of claim 1 , wherein the first path comprises traffic flow from the optical switch to the first DU, and from the first DU to the second DU, and
wherein the second path comprises traffic flow from the optical switch to the second DU.
8 . A system for distributing traffic, comprising:
a first distributed unit (DU);
a second DU;
an optical switch; and
at least one processor configured to:
distribute, to the first DU, traffic via a first path;
receive, from the first DU, an indication generated by a first dry contact alarm of the first DU that a state has changed in the first DU;
switch, by the optical switch, the traffic from the first path to a second path based on the indication from the first DU, wherein the switched traffic does not flow to the first DU; and
distribute, to the second DU, the traffic via the second path,
wherein the processor is further configured to:
in response to receiving the indication that the state has changed in the first DU, send, from the optical switch, an alarm to the second DU indicating that the state has changed in the first DU; and
transmit, from the second DU to a server device, the alarm indicating that the state has changed in the first DU.
9 . The system of claim 8 , wherein the indication that the state has changed in the first DU comprises an input alarm received by the optical switch from the first DU.
10 . The system of claim 8 , wherein the optical switch comprises a second dry contact alarm.
11 . The system of claim 8 , wherein the at least one processor is further configured to, in response to receiving the indication that the state has changed in the first DU, open first pins of the optical switch corresponding to the first DU.
12 . The system of claim 11 , wherein the at least one processor is further configured to, in response to receiving the indication that the state has changed in the first DU, close second pins of the optical switch that are different from the first pins, the second pins corresponding to the second DU.
13 . The system of claim 12 , wherein the at least one processor is further configured to, in response to the second pins being closed, transmit, from the second DU to a server device, an alarm indicating that the state has changed in the first DU.
14 . The system of claim 8 , wherein the first path comprises traffic flow from the optical switch to the first DU, and from the first DU to the second DU, and
wherein the second path comprises traffic flow from the optical switch to the second DU.
15 . A non-transitory computer-readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to:
distribute, to a first distributed unit (DU), traffic via a first path;
receive, from the first DU, an indication generated by a first dry contact alarm of the first DU that a state has changed in the first DU;
switch, by an optical switch, the traffic from the first path to a second path based on the indication from the first DU, wherein the switched traffic does not flow to the first DU; and
distribute, to a second DU, the traffic via the second path,
wherein the instructions, when executed, further cause the at least one processor to,
in response to receiving the indication that the state has changed in the first DU, sending, from the optical switch, an alarm to the second DU indicating that the state has changed in the first DU; and
transmitting, from the second DU to a server device, the alarm indicating that the state has changed in the first DU.
16 . The storage medium of claim 15 , wherein the indication that the state has changed in the first DU comprises an input alarm received by the optical switch from the first DU.