A method and apparatus are disclosed for temporally shifting one or more
packets using wavelength selective delays. The header information
associated with each packet, together with a routing algorithm, routing
topology information and internal OPTR state, is used to route each
packet to the appropriate destination channel and to make timing
decisions. A wavelength server generates optical control wavelengths in
response to the timing decisions. A generated optical control wavelength
is used to adjust the wavelength of a given packet tray and thereby
introduce a wavelength selective delay to the packet tray to align packet
trays or to shift one or more packet trays to avoid a collision. The
wavelength of the packet tray is converted to a control wavelength
corresponding to an identified delay, irrespective of the initial channel
upon which the packet tray was received. At the output stage of the
packet tray router, the packet tray wavelength can be converted to any
desired output channel wavelength.