opaextractlink(8)
π NAME π
okay so bestie, meet opaextractlink π
this is the opaextractlink(8) page from the IFSFFCLIRG man page and it's genuinely so useful.
It produces a CSV file listing all or some of the links in the fabric. And the way it does that? opaextractlink is a front end to the opareport tool. The output from this tool can be imported into a spreadsheet or parsed by other scripts. spreadsheet girlies and script girlies both ate with this one π
πΈ Syntax πΈ
opaextractlink [opareport options]
β¨ Options β¨
--helpβ produces full help text. the classic "what do u even do" button π«Άopareport optionsβ the following options are passed toopareport. This subset is considered typical and useful for this command. By design, the tool ignores the-o/--outputreport option β like, it said "not today" π-h/--hfihfi β specifies the HFI, numbered1..n. Using0specifies that the-p portport is a system-wide port number. Default is0.-p/--portport β specifies the port, numbered1..n. Using0specifies the first active port. Default is0.-X/--infilesnapshot_input β generates a report using the data in thesnapshot_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 specify stdin.-T/--topologytopology_input β usestopology_inputfile to augment and verify fabric information. When used, various reports can be augmented with information not available electronically (such as cable labels).'-'may be used to specify stdin.
π« -h and -p options permit a variety of selections π«
-h 0β first active port in system (Default). π-h 0 -p 0β first active port in system.-h xβ first active port on HFIx.-h x -p 0β first active port on HFIx.-h 0 -p yβ portywithin system (no matter which ports are active).-h x -p yβ HFIx, porty.
π Examples π
list all the links in the fabric:
opaextractlink
list all the links to a switch named "coresw1":
opaextractlink -F "node:coresw1"
list all the links to end-nodes:
opaextractlink -F "nodetype:FI"
list all the links on the 2nd HFI's fabric of a multi-plane fabric:
opaextractlink -h 2
and that's the whole vibe, bestie π¦ no cap, you're now officially an opaextractlink girlie. this one comes to you from the IFSFFCLIRG (Man Page) era, with Copyright(C) 2015-2019 Intel Corporation holding it down β periodt. π
π¦ where this page comes from
- centos-stream 9: opa-fastfabric 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-fastfabric 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-fastfabric 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-fastfabric 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-fastfabric 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-fastfabric 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-fastfabric 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-fastfabric 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-fastfabric 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms