In recent years IP traffic has been doubling in almost every two years. This increasing traffic is transmitted over optical networks.
As a result of high traffic demands, a novel spectrum elastic optical network needs to be realized.
Optical OFDM(orthogonal frequency divison multiplexing) is a promising technique for the future internet's network.
OFDM technique using multiple lower-speed subcarriers, offers superior advantages of high spectrum efficiency and elastic spectrum allocation.
Therefore the focus of studeis in optical networks was on OFDM.
The elastic allocation of optical spectrum hasn't been considered yet, due to the rigid granularity of DWDM networks. So far as we know there hasn't been implemented optimal methods for routing and simultaneously dynamic spectrum allocating.
We propose our Spectrum-aware Shortest Path Routing (SASP) method and modeling the optical OFDM network with a graph which edges gives the spectrum and we need to find the optimal path between any two nodes using the preferences of O-OFDM (Optical-OFDM).
We realized the algorithm in c++ programming language using lemon library and we proved it's efficiency with simulation.