Produces a CSV file listing all or some of the links in the fabric. opaextractlink.sh is a front end to the opareport tool. The output from this tool can be imported into a spreadsheet or parsed by other scripts.
# List all the links in the fabric: opaextractlink.sh # List all the links to a switch named "OmniPth00117501ffffffff": opaextractlink.sh -F "node:OmniPth00117501ffffffff" # List all the links to end-nodes: opaextractlink.sh -F "nodetype:FI" # List all the links on the 2nd HFI's fabric of a multi-plane fabric: opaextractlink.sh -h 2