aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/package/etc/samples/linkGraph.cfg
blob: 41ce5bdc520e723370b966f609b47518e66e584f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# NullLinkProvider topology description (config file).
#
# Dot-style topology graph. Each controller's topology begins with
#
#   graph <node ID>, followed by a list of links between braces.
#
# The links are either bidirectional (--) or directed (->). The directed
# edges are used to connect together Null devices of different controllers.
# The endpoint has the format:
# 
#   devID:port:NodeId
#
# The NodeId is only added if the destination is another node's device.
#
graph 192.168.56.20 {
    0:0 -- 1:0
    1:1 -> 0:0:192.168.56.30
    1:2 -- 2:0
    2:1 -> 1:0:192.168.56.30
}
graph 192.168.56.30 {
    0:0 -> 1:1:192.168.56.20
    0:1 -- 1:1
    1:0 -> 2:1:192.168.56.20
    1:2 -- 2:0
}
# Bugs: Comments cannot be appended to a line to be read.