Debian Codegraph @

net-examples/net.2sw2path

raw
1 # Net configuration file example
2 #
3 # The file defines node records as follows:
4 # < node header line: >
5 # < first connected port >
6 # < second connected port >
7 # < ... >
8 # < last connected port >
9 # < newlines (at least one) >
10 # < next record ...>
11 #
12 # The header line format is as follows:
13 # type(Switch|Hca) ports(1-255) "nodeid"(unique string)
14 #
15 # The connected port line format is:
16 # [localport] "remoteid" [remoteport]
17 #
18 # The first port in the file is used as the SM port.
19 #
20
21 Switch 8 "Switch1"
22 [1] "Hca1"[1]
23 [3] "Switch2"[3]
24 [5] "Switch2"[5]
25
26 Switch 8 "Switch2"
27 [1] "Hca2"[1]
28 [3] "Switch1"[3]
29 [5] "Switch1"[5]
30
31 Hca 2 "Hca1"
32 [1] "Switch1"[1]
33
34 Hca 2 "Hca2"
35 [1] "Switch2"[1]