Agile All-Photonic Networks