Software-defined reconfigurable VCSEL-based transmission