IP routing by an optical spectral-amplitude-coding CDMA network