OpticalRouting#
User APIs#
Direct routing. |
|
Direct routing for traffic-aware. |
|
HoHo routing — shortest-path forwarding over the time-expanded schedule graph. |
|
Opera routing by searching the shortest path for each time slice. |
|
|
VLB routing. |
Helper Functions#
Helper function to find the direct paths between two nodes for all time slices. |
|
Helper function to find the path between src and dst with the max hop of max_hop. |
|
|
Helper function used by opera and hoho routing. |
Helper function to find the send port given the src and dst nodes in the topo. |