Text this: Wavelength routing for all-optical networks