主权项 |
1. A method comprising:
identifying, by a processor, a primary light path between a first reconfigurable optical add/drop multiplexers (ROADM) and a second ROADM and a protection light path between the first ROADM and the second ROADM, wherein the first ROADM includes a first direction and a second direction, the second ROADM includes a third direction and a fourth direction, the primary light path is coupled between the first direction and the third direction, and the protection light path is coupled between the second direction and the fourth direction; monitoring, by the processor and when the first direction and the second direction are activated and the third direction and the fourth direction are deactivated, a first signal carried on the primary light path to identify a characteristic of the first signal, wherein the first signal is carried on the primary light path and not on the protection light path based on the first direction and the third direction being activated and the second direction and the fourth direction being deactivated; determining, by the processor, whether the characteristic satisfies a threshold value or a threshold range of values; deactivating, by the processor and when the characteristic does not satisfy the threshold value or the threshold range, the first direction and the third direction, wherein a second signal is not sent on the primary light path based on the deactivating of the first direction and the third direction; and activating, by the processor and based on the deactivating the first direction and the third direction, the second direction and the fourth direction, wherein the second signal is sent on the protection light path based on activating the second direction and the fourth direction. |