Segment routing for effective recovery and multi-domain traffic engineering