I. Introduction
All-optical networks have been considered as the most reliable and economic solution to achieve high transmission capacities. In these networks, the signal remains in the optical domain between the edge nodes, i.e., the signal propagates along the optical network without suffering any optical-electrical-optical conversion.