Name
opaextractlids — Produces a CSV file listing all or some of the LIDs in the fabric.
Syntax
opaextractlids [opareport options]
Description
opaextractlids is a front end to the opareport tool. The output from this tool can be imported into a spreadsheet or parsed by other scripts.
Options
--helpProduces full help text.
opareportoptionsThe following options are passed to
opareport. This subset is considered typical and useful for this command. By design, the tool ignores-o/--outputreport option.-h/--hfihfiSpecifies the SuperNIC, numbered 1..n. Using 0 specifies that the
-p portport is a system-wide port number. Default is 0.-p/--portportSpecifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.
-X/--infilesnapshot_inputGenerates a report using the data in the
snapshot_inputfile.snapshot_inputmust have been generated during a previous-o snapshotrun. When used, the-s,-i,-C, and-aoptions are ignored.'-'may be used as thesnapshot_inputto specifystdin.-F/--focuspointSpecifies the focus area for report. Used for all reports except route to limit scope of report. Refer to for details.
-h and -p options permit a variety of selections:
-h 0First active port in the system (Default).
-h 0 -p 0First active port in the system.
-hxFirst active port on SuperNIC
x.-hx-p 0First active port on SuperNIC
x.-h 0 -pyPort
ywithin the system (no matter which ports are active).-hx-pySuperNIC
x, porty.
Examples
# List all the lids in the fabric: opaextractlids # List all the lids of end-nodes: opaextractlids -F "nodetype:FI" # List all the lids on the 2nd HFI's fabric of a multi-plane fabric: opaextractlids -h 2