1
2ethxlattopology(8)           EFSFFCLIRG (Man Page)          ethxlattopology(8)
3
4
5

NAME

7       ethxlattopology
8
9
10
11       Generates  a  topology  XML  file  of  a  cluster using your customized
12       <topologyfile>.csv   and    core    switch    linksum    files,    e.g.
13       linksum_swd06.csv,  and linksum_swd24.csv as input. The output topology
14       XML file can be used to bring up and verify the cluster.
15

Syntax

17       ethxlattopology [-d  level] [-v   level]  [-i   level]  [-K]  [-N]  [-f
18       linkfiles]
19
20       [-o  report] [-p  plane] [source [dest]]
21

Options

23       --help
24
25                 Produces full help text.
26
27
28       -d level
29
30                 Specifies  the  output detail level. Default is 0. Levels are
31                 additive.
32
33
34                 By default, the top level is always produced.  Switch,  rack,
35                 and  rack  group topology files can be added to the output by
36                 choosing the appropriate level. If the output at the group or
37                 rack  level  is  specified,  then group or rack names must be
38                 provided in the spreadsheet. Detailed output can be specified
39                 in any combination. A directory for each topology XML file is
40                 created hierarchically, with group directories (if specified)
41                 at the highest level, followed by rack and switch directories
42                 (if specified).
43
44
45
46                 1         Core switch topology 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
63
64                 Specifies the verbose level. Range is 0 - 8. Default is 2.
65
66
67
68
69                 0         No output.
70
71
72
73
74
75                 1         Progress output.
76
77
78
79
80
81                 2         Reserved.
82
83
84
85
86
87                 4         Time stamps.
88
89
90
91
92
93                 8         Reserved.
94
95
96
97       -i level
98
99                 Specifies the output indent level. Default is 4.
100
101
102       -K
103
104                 Specifies DO NOT clean temporary files.
105
106
107                 Prevents temporary files in each topology directory from  be‐
108                 ing  removed.  Temporary files contain CSV formatted lists of
109                 links, NICs, and switches used to create a topology XML file.
110                 Temporary  files  are  not  typically needed after a topology
111                 file is created, or can be retained for subsequent inspection
112                 or processing.
113
114       -N
115
116                 Specifies DO NOT generate Port Numbers from Port IDs.
117
118
119                 This  will introduce slightly poorer topology loading perfor‐
120                 mance. Useful when have difficulty to generate Port  Numbers,
121                 such  as  complicated Port ID formats, or not enough Port IDs
122                 to train the Port Number generator.
123
124       -f linkfiles
125
126                 Specifies the space separated core switch linksum files.
127
128
129       -o report
130
131                 Specifies the report type for output.  By  default,  all  the
132                 sections are generated.
133
134
135                 Report Types:
136
137
138
139                 brnodes   Creates the <Node> section xml for the csv input.
140
141
142
143
144
145                 links     Creates  the  <LinkSummary> section xml for the csv
146                           input.
147
148
149
150       -p plane
151
152                 Plane name (default 'plane').
153
154       source
155
156                 Specifies the source csv file. Default is topology.csv.
157
158
159       dest
160
161                 Specifies the output xml file. Default is topology.xml
162
163
164                 The default output file name can be used to specify  destina‐
165                 tion folder.
166

Description

168       The  ethxlattopology  script  reads  your customized <topologyfile>.csv
169       file from the local directory, and reads the core switch linksum  files
170       specified   by  -f  argument.  Two  sample  topology  XLSX  files,  de‐
171       tailed_topology.xlsx and  minimal_topology.xlsx,  are  located  in  the
172       /usr/share/eth-tools/samples/  directory. You must create your <topolo‐
173       gyfile>.csv file by editing one of the sample spreadsheets  and  saving
174       the  Fabric  Links  tab  as a CSV file. Inspect your <topologyfile>.csv
175       file to ensure that each row contains the correct and  same  number  of
176       comma  separators.  Any extraneous entries in the spreadsheet can cause
177       the CSV output to have extra fields. Do the same thing on the "Internal
178       xxx  Links"  tab  to  create  your own internal core switch linksum csv
179       files.
180

Example

182       ethxlattopology   -f    "/usr/share/eth-tools/samples/linksum_swd06.csv
183       /usr/share/eth-tools/samples/linksum_swd24.csv"    /tmp/detailed_topol‐
184       ogy.csv
185
186       Parsing linksum file: /usr/share/eth-tools/samples/linksum_swd06.csv
187
188       Parsing linksum file: /usr/share/eth-tools/samples/linksum_swd24.csv
189
190       Parsing /tmp/detailed_topology.csv
191
192       Generating links for Core:core1
193
194       Generating links for Core:core2
195
196       Processing Leaves of partially populated Core:core2
197
198       Processing spines of partially populated Core:core2
199
200       Generating topology.xml file(s)
201
202       Done
203
204       Both sample files contain examples of links between  NIC  and  Edge  SW
205       (rows  4-7), NIC and Core SW (rows 8-11), and Edge SW and Core SW (rows
206       12-15).
207

Environment Variables

209       The following environment variables allow user-specified MTU.
210
211       MTU_SW_SW
212
213                 If set, it overrides default MTU on  switch-to-switch  links.
214                 Default is 10240
215
216
217       MTU_SW_NIC
218
219                 If  set, it overrides default MTU on switch-to-NIC links. De‐
220                 fault is 10240
221
222

Multi-Rail and Multi-Plane Fabrics

224       For Multi-Rail/Multi-Plane fabrics, you have the following options:
225
226       •      For Multi-Rail fabrics or for a Single Plane  fabric  with  some
227              multi-ported hosts, you can create multiple rows for a host with
228              different Port names, and then follow the standard procedure  to
229              generate <topologyfile>.xml.
230
231       •      For  a Multi-Plane fabric with identical planes, the tool can be
232              run multiple times on the same <topologyfile>.csv modified  with
233              different  port  names.  For example, if there are two identical
234              fabrics (fabric_1 and fabric_2) connected to a single host  with
235              two NICs (eth2 and eth3), the tool can be run twice like this:
236
237
238       •      For fabric_1:
239
240              In <topologyfile>.csv, set port name to be eth2 for hosts.
241
242
243       •      For fabric_2:
244
245              In <topologyfile>.csv, set port name to be eth3 for hosts.
246
247
248       •      For  a fabric with both Multi-Rail and Multi-Plane segments, you
249              can use a combination of the above techniques  to  generate  the
250              desired <topologyfile>.xml file.
251
252
253
254Copyright(C) 2020-2021         Intel Corporation            ethxlattopology(8)
Impressum