Produces a CSV file listing all or some of the links in the fabric. opaextractsellinks.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: opaextractsellinks.sh # List all the links to a switch named "OmniPth00117501ffffffff": opaextractsellinks.sh -F "node:OmniPth00117501ffffffff" # List all the connections to end-nodes: opaextractsellinks.sh -F "nodetype:FI" # List all the links on the 2nd HFI's fabric of a multi-plane fabric: opaextractsellinks.sh -h 2