Ultra-fast all-optical self-aware protection switching based on a bistable laser diode