Skip to main content

Cornelis Technical Documentation

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

--help

Produces full help text.

opareport options

The following options are passed to opareport. This subset is considered typical and useful for this command. By design, the tool ignores -o/--output report option.

-h/--hfi hfi

Specifies the SuperNIC, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.

-p/--port port

Specifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.

-X/--infile snapshot_input

Generates a report using the data in the snapshot_input file. snapshot_input must have been generated during a previous -o snapshot run. When used, the -s, -i, -C, and -a options are ignored. '-' may be used as the snapshot_input to specify stdin.

-F/--focus point

Specifies 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 0

First active port in the system (Default).

-h 0 -p 0

First active port in the system.

-h x

First active port on SuperNIC x.

-h x -p 0

First active port on SuperNIC x.

-h 0 -p y

Port y within the system (no matter which ports are active).

-h x -p y

SuperNIC x, port y.

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