Text this: Link-lifetime-based service restoration in optical datacenter network