Wavelength-routing networks