Ayaka Koshibe | 839a8a9 | 2015-03-03 17:07:22 -0800 | [diff] [blame] | 1 | # NullLinkProvider topology description (config file). |
| 2 | # |
| 3 | # Dot-style topology graph. Each controller's topology begins with |
| 4 | # |
| 5 | # graph <node ID>, followed by a list of links between braces. |
| 6 | # |
| 7 | # The links are either bidirectional (--) or directed (->). The directed |
| 8 | # edges are used to connect together Null devices of different controllers. |
| 9 | # The endpoint has the format: |
| 10 | # |
| 11 | # devID:port:NodeId |
| 12 | # |
| 13 | # The NodeId is only added if the destination is another node's device. |
| 14 | # |
| 15 | graph 192.168.56.20 { |
| 16 | 0:0 -- 1:0 |
| 17 | 1:1 -> 0:0:192.168.56.30 |
| 18 | 1:2 -- 2:0 |
| 19 | 2:1 -> 1:0:192.168.56.30 |
| 20 | } |
| 21 | graph 192.168.56.30 { |
| 22 | 0:0 -> 1:1:192.168.56.20 |
| 23 | 0:1 -- 1:1 |
| 24 | 1:0 -> 2:1:192.168.56.20 |
| 25 | 1:2 -- 2:0 |
| 26 | } |
| 27 | # Bugs: Comments cannot be appended to a line to be read. |