A photonic integrated circuit comprising: A substrate; A laser cavity provided in the substrate comprising: a plurality of first reflectors (111-1,111-m) and second reflectors (111A-1, 111An), disposed at both ends of such laser cavity; a plurality of band-pass filters (112-1,112-m), each one connected to each of the first reflectors (111-1,111-m) configured to operate in a certain band each of them; a plurality of band-selectors (113-1, 113-m), each one connected to each of the above mentioned band-pass filters (112-1, 112-m), which works as a enable or disable of the respective band; a power combiner connected to the output of each band-selector (113-1, 113-m), which aggregates all of the above in one optical path; a multi-band filter, with one input where is connected the output of the above mentioned power combiner, and a multiplicity of outputs; a multiplicity of amplifiers (116-1,116-n), each one connected to one output of the above mentioned multi-band filter; a multiplicity of power splitters (117-1,117-n), with the input of each one connected to each amplifier (116-1, 116-n), and two outputs each, wherein a first power splitter's output connects to a second reflector (111A-1, 111A-n); a plurality of outputs, each formed by a second power splitter's output which is not connected to the second reflector (111A-1, 111A-n). A substrate; A laser cavity provided in the substrate comprising: a plurality of first reflectors (111-1,111-m) and second reflectors (111A-1, 111An), disposed at both ends of such laser cavity; a plurality of band-pass filters (112-1,112-m), each one connected to each of the first reflectors (111-1,111-m) configured to operate in a certain band each of them; a plurality of band-selectors (113-1, 113-m), each one connected to each of the above mentioned band-pass filters (112-1, 112-m), which works as a enable or disable of the respective band; a power combiner connected to the output of each band-selector (113-1, 113-m), which aggregates all of the above in one optical path; a multi-band filter, with one input where is connected the output of the above mentioned power combiner, and a multiplicity of outputs; a multiplicity of amplifiers (116-1,116-n), each one connected to one output of the above mentioned multi-band filter; a multiplicity of power splitters (117-1,117-n), with the input of each one connected to each amplifier (116-1, 116-n), and two outputs each, wherein a first power splitter's output connects to a second reflector (111A-1, 111A-n); a plurality of outputs, each formed by a second power splitter's output which is not connected to the second reflector (111A-1, 111A-n). a plurality of first reflectors (111-1,111-m) and second reflectors (111A-1, 111An), disposed at both ends of such laser cavity; a plurality of band-pass filters (112-1,112-m), each one connected to each of the first reflectors (111-1,111-m) configured to operate in a certain band each of them; a plurality of band-selectors (113-1, 113-m), each one connected to each of the above mentioned band-pass filters (112-1, 112-m), which works as a enable or disable of the respective band; a power combiner connected to the output of each band-selector (113-1, 113-m), which aggregates all of the above in one optical path; a multi-band filter, with one input where is connected the output of the above mentioned power combiner, and a multiplicity of outputs; a multiplicity of amplifiers (116-1,116-n), each one connected to one output of the above mentioned multi-band filter; a multiplicity of power splitters (117-1,117-n), with the input of each one connected to each amplifier (116-1, 116-n), and two outputs each, wherein a first power splitter's output connects to a second reflector (111A-1, 111A-n); a plurality of outputs, each formed by a second power splitter's output which is not connected to the second reflector (111A-1, 111A-n).