Automated fiber type identification in SDN-enabled optical networks