1
2opaxlattopology(8)     Master map: IFSFFCLIRG (Man Page)    opaxlattopology(8)
3
4
5

NAME

7       opaxlattopology
8
9
10
11       Generates  a  topology  XML  file  of  a  cluster using your customized
12       <topologyfile>.csv, linksum_swd06.csv, and linksum_swd24.csv as  input.
13       The  output  topology  XML  file can be used to bring up and verify the
14       cluster.
15
16       NOTE: The <topologyfile>.csv input file must be  present  in  the  same
17       directory from which the script operates, but the linksum CSV files are
18       read from the /usr/share/opa/samples directory.
19
20

Syntax

22       opaxlattopology [-d level] [-v level] [-i level] [-K] [-s hfi_suffix]
23       [source [dest]]
24

Options

26       --help    Produces full help text.
27
28
29       -d level  Specifies the output detail level. Default =  0.  Levels  are
30                 additive.
31
32
33                 By  default,  the top level is always produced. Switch, rack,
34                 and rack group topology files can be added to the  output  by
35                 choosing the appropriate level. If the output at the group or
36                 rack level is specified, then group or  rack  names  must  be
37                 provided in the spreadsheet. Detailed output can be specified
38                 in any combination. A directory for each topology XML file is
39                 created hierarchically, with group directories (if specified)
40                 at the highest level, followed by rack and switch directories
41                 (if specified).
42
43
44
45                 1         Intel(R)  Omni-Path Edge Switch 100 Series topology
46                           files.
47
48
49
50
51
52                 2         Rack topology files.
53
54
55
56
57
58                 4         Rack group topology files.
59
60
61
62       -v level  Specifies the verbose level. Range = 0 - 8. Default = 2.
63
64
65
66
67                 0         No output.
68
69
70
71
72
73                 1         Progress output.
74
75
76
77
78
79                 2         Reserved.
80
81
82
83
84
85                 4         Time stamps.
86
87
88
89
90
91                 8         Reserved.
92
93
94
95       -i level  Specifies the output indent level. Default = 4.
96
97
98       -K        Specifies DO NOT clean temporary files.
99
100
101                 Prevents temporary files  in  each  topology  directory  from
102                 being removed. Temporary files contain CSV formatted lists of
103                 links, HFIs, and switches used to create a topology XML file.
104                 Temporary  files  are  not  typically needed after a topology
105                 file  is  created,  however  they  are  used   for   creating
106                 linksum_swd06.csv  and  linksum_swd24.csv  files,  or  can be
107                 retained for subsequent inspection or processing.
108
109       -s hfi_suffix
110                 Used on Multi-Rail or Multi-Plane fabrics.  Can  be  used  to
111                 override the default hfi1_0.
112
113
114                 For  Multi-Plane  fabric,  use the tool multiple times with a
115                 different hfi-suffix.
116
117                 For Multi-Rail fabric, specify HostName as "HostName HfiName"
118                 in the spreadsheet.
119
120       -o report Specifies  the  report  type  for output. By default, all the
121                 sections are generated.
122
123
124                 Report Types:
125
126
127
128                 brnodes   Creates the <Node> section xml for the csv input.
129
130
131
132
133
134                 links     Creates the <LinkSummary> section xml for  the  csv
135                           input.
136
137
138

Description

140       The  opaxlattopology  script  reads  your customized <topologyfile>.csv
141       file  from  the  local  directory,  and  reads  the  other  files  from
142       /usr/share/opa/samples/linksum_swd06.csv     and    /usr/share/opa/sam‐
143       ples/linksum_swd24.csv. Two sample topology XLSX files, detailed_topol‐
144       ogy.xlsx    and    minimal_topology.xlsx,    are    located    in   the
145       /usr/share/opa/samples/ directory.  You  must  create  your  <topology‐
146       file>.csv file by editing one of the sample spreadsheets and saving the
147       Fabric Links tab as a CSV file. Inspect your <topologyfile>.csv file to
148       ensure that each row contains the correct and same number of comma sep‐
149       arators. Any extraneous entries in the spreadsheet can  cause  the  CSV
150       output to have extra fields.
151
152       The  script  outputs  one  or  more topology files starting with topol‐
153       ogy.0:0.xml. Your <topologyfile>.csv input file must be present in  the
154       same  directory  from  which  the  script operates, but the linksum CSV
155       files are read from the /usr/share/opa/samples directory.
156

Example

158       opaxlattopology
159       # reads default input 'topology.csv' and creates default
160       # output 'topology.0:0.xml'
161
162       opaxlattopology fabric_2.csv
163       # reads input 'fabric_2.csv' and creates default output
164
165       Both sample files contain examples of links between  HFI  and  Edge  SW
166       (rows  4-7), HFI and Core SW (rows 8-11), and Edge SW and Core SW (rows
167       12-15).
168

Environment Variables

170       The following environment variables allow user-specified MTU.
171
172       MTU_SW_SW If set, it overrides default MTU on  switch-to-switch  links.
173                 Default = 10240
174
175
176       MTU_SW_HFI
177                 If  set,  it  overrides  default  MTU on switch-to-HFI links.
178                 Default = 10240
179
180

Creating linksum Files

182       The linksum_swd06.csv  and  linksum_swd24.csv  files  are  provided  as
183       stand-alone  files  in  the  /usr/share/opa/samples directory. However,
184       they can be recreated (or modified) from the spreadsheet, if needed, by
185       performing the following steps:
186
187
188       1)  Save  each  of  the  following from your custom <topologyfile>.xlsx
189           file as individual .csv files:
190
191       ·   Internal SWD06 Links tab as linksum_swd06.csv
192
193       ·   Internal SWD24 Links tab as linksum_swd24.csv
194
195       ·   Fabric Links tab as <topologyfile>.csv
196
197
198       2)  For each saved <topologyfile>.csv file, run the script with the  -K
199           option.
200
201
202       3)  Upon  completion of the script, save the top level linksum.csv file
203           as linksum_swd06.csv or linksum_swd24.csv as appropriate.
204
205

Multi-Rail and Multi-Plane Fabrics

207       By default, the opaxlattopology script considers all of  the  hosts  to
208       have a single HFI (hfi1_0).
209
210       For Multi-Rail/Multi-Plane fabrics, you have the following options:
211
212       ·      For  Multi-Rail  fabrics  or for a Single Plane fabric with some
213              multi-ported hosts, you can edit the Host Name in  your  custom‐
214              ized  <topologyfile>.csv file to include the HFI Name (for exam‐
215              ple: HostName HfiName) and then follow the standard procedure to
216              generate <topologyfile>.xml.
217
218       ·      For  a Multi-Plane fabric with identical planes, the tool can be
219              run multiple times on the same <topologyfile>.csv with different
220              -s  hfi_suffix options.  For example, if there are two identical
221              fabrics (fabric_1 and fabric_2) connected to a single host  with
222              two  HFIs  (hfi1_0  and  hfi1_1), the tool can be run twice like
223              this:
224
225
226       ·      For fabric_1:
227
228              opaxlattopology <topologyfile>.csv <topologyfile>.xml
229
230
231
232
233       ·      For fabric_2:
234
235              opaxlattopology -s hfi1_1 <topologyfile>.csv <topologyfile>.xml
236
237
238
239
240
241       ·      For a fabric with both Multi-Rail and Multi-Plane segments,  you
242              can  use  a  combination of the above techniques to generate the
243              desired <topologyfile>.xml file.
244
245
246
247Copyright(C) 2015-2018         Intel Corporation            opaxlattopology(8)
Impressum