Debian Codegraph @

net-examples/net

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 # Optionally, link width can be supplied by adding 'w=(1|4|12)':
19 # [localport] "remoteid" [remoteport] w=12
20 #
21 #
22 # The first port in the file is used as the SM port.
23 #
24
25 Switch 8 "Switch1"
26 [1] "Hca1"[1]
27 [2] "Hca2"[2]
28 [3] "Switch2"[3]
29 [4] "Switch2"[4]
30
31 Switch 8 "Switch2"
32 [3] "Switch1"[3]
33 [4] "Switch1"[4]
34
35 Hca 2 "Hca1"
36 [1] "Switch1"[1]
37
38 Hca 2 "Hca2"
39 [2] "Switch1"[2]