| # +-----> \------/ <-----+ \----------/ |
| # /----------\ /----------\ |
| # | Producer | | Producer | |
| # \----------/ \----------/ |
| # any empty lines and lines starting with '#' symbol is ignored |
| # The file should contain exactly two sections: router and link, each starting with the corresponding keyword |
| # router section defines topology nodes and their relative positions (e.g., to use in visualizer) |
| # each line in this section represents one router and should have the following data |
| # Note that `node` can be any string. It is possible to access to the node by name using Names::Find, see examples. |
| # link section defines point-to-point links between nodes and characteristics of these links |
| # Each line should be in the following format (only first two are required, the rest can be omitted) |
| # srcNode dstNode bandwidth metric delay queue |
| # bandwidth: link bandwidth |
| # queue: MaxPackets for transmission queue on the link (both directions) |
| CSU-1 CSU-HUB 1Mbps 1 10ms 10 |
| CSU-HUB UCLA-HUB 1Mbps 1 10ms 10 |
| UCLA-HUB UCLA-1 1Mbps 1 10ms 10 |
| UCLA-HUB UCLA-2 1Mbps 1 10ms 10 |