SDN-Controlled Flexible-Grid Optical Switch