Software-Defined Adaptive Survivability for Elastic Optical Networks