Resilience in IP over WDM based multilayer networks