Moving boundary between wavelength resources in optical packet and circuit integrated ring network