Utility functions#
Generate table entries for OCS (Optical Circuit Switching) scheduling. |
|
|
Old implementation of loading direct routing table entries. |
Convert queue depth to traffic metric |
|
|
Convert paths to time flow table entries |
Generate table entries for checking if a packet arrives at the dst ToR. |
|
Generate table entries for (src, next_node, send_slice)->send_port. |
|
|
Generate table entries mapping IP addresses to ToR (Top of Rack) switch IDs. |
Generate table entries for per-hop routing. |
|
Generate table entries for source routing. |
|
Generate table entries for checking if the receiver is the dst node. |