Text this: Cross-Layer Design in Optical Networks