opagenswitches(8) | IFSFFCLIRG (Man Page) | opagenswitches(8) |
opagenswitches
Analyzes the present fabric and produces a list of Externally Managed switches in the required format for the /etc/opa/switches file.
opagenswitches [-t portsfile] [-p ports] [-R] [-L switches_file]
[-o output_file] [-T topology_file] [-X snapshot_file] [-s] [-v level]
[-K]
Produces full help text.
Specifies the file with list of local HFI ports used to access
fabric(s) for analysis.
Default is /etc/opa/ports file.
Specifies the list of local HFI ports used to access fabrics for counter clear.
0:0 First active port in system.
0:y Port y within system.
x:0 First active port on HFI x.
x:y HFI x, port y.
Does not attempt to get routes for computation of distance.
Updates/resolves switch names using topology XML data.
Specifies the name of a pre-existing switches_file to be used as input in conjunction with a topology file. When specified, the file is used instead of switches data obtained from the actual fabric. The updated switches data is output to stdout (common to all opagenswitches operations). Does not generate switches data. Must also use -s option.
Writes switches data to output_file. Default is stdout.
Specifies topology_file to use. May contain '%P' . Must also use -s.
Uses snapshot_file XML for fabric link information.
May contain '%P' . Must also use -s.
Specifies the verbose level. Default is 0. Values include:
0 No output.
1 Progress output.
2 Reserved.
4 Time stamps.
8 Reserved.
Does not clean temporary files. Temporary files are CSV format and contain lists of links used during script operation. The files are not normally needed after execution, but they can be retained for subsequent inspection or processing.
The following environment variables are also used by this command:
List of ports, used in absence of -t and -p.
File containing list of ports, used in absence of -t and -p.
File containing topology XML data, used in absence of -T.
opagenswitches
opagenswitches -p '1:1 2:1'
opagenswitches -o switches
opagenswitches -s -o switches
opagenswitches -L switches -s -o switches
opagenswitches -s -T topology.%P.xml
opagenswitches -L switches -s -T topology.%P.xml -X snapshot.%P.xml
Intel Corporation | Copyright(C) 2015-2019 |