opaextractmissinglinks(8)
π opaextractmissinglinks(8) β the IFSFFCLIRG girlies' guide π
okay so bestie, listen. opaextractmissinglinks is that girl. she makes you a CSV file listing all β or like, some β of the links in your fabric. no cap.
she's basically a front end to the opareport tool, and what she does is generate a report of every link that's present in the topology file you hand her but missing in the actual fabric. it's giving "where did my cables go" energy. π
and the glow-up? the output can be imported into a spreadsheet or parsed by other scripts. she's versatile like that. π
β¨ Syntax β¨
opaextractmissinglinks [-T topology_input] [-o report]
[opareport options]
yes the spacing there is iconic and we keep it. π
πΈ Options πΈ
--helpβ produces the full help text. she'll tell you everything, she's an open book π«Ά-T/--topologytopology_input β picks which topology file to verify against. default is/etc/opa/topology.0:0.xml. iykyk-o/--outputreport β picks the report type for the output. go check Report Types below for the deets, bestie.opareportoptions β the following get passed straight through toopareport. this subset is what's considered typical and useful for this command. think of them as the VIP guests π-h/--hfihfi β specifies the HFI, numbered1..n. using0means the-pport is a system-wide port number. default is0.-p/--portport β specifies the port, numbered1..n. using0means the first active port. default is0.-X/--infilesnapshot_input β generates a report using the data in the snapshot_input file. snapshot_input must have been generated during a previous-o snapshotrun. when this is used, the-s,-i,-C, and-aoptions are ignored. and yeah,'-'can be used as snapshot_input to mean stdin. π¦-F/--focuspoint β specifies the focus area for the report. used for all reports exceptroute, to limit the scope of the report. go see Point Syntax for the details.
π -h and -p selections π
the -h and -p options let you do a whole variety of selections, and honestly? slay:
-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.
π¦ Report Types π¦
verifylinksβ compares fabric (or snapshot) links to the supplied topology and identifies differences and omissions. the classic πverifyextlinksβ same deal, compares fabric (or snapshot) links to the supplied topology and identifies differences and omissions, but limits the analysis to links external to systems.verifyfilinksβ compares fabric (or snapshot) links to the supplied topology and identifies differences and omissions. limits analysis to links to FIs.verifyislinksβ compares fabric (or snapshot) links to the supplied topology and identifies differences and omissions. limits analysis to inter-switch links.verifyextislinksβ compares fabric (or snapshot) links to the supplied topology and identifies differences and omissions. limits analysis to inter-switch links external to systems.verifyallβ returnsverifyfis,verifysws,verifysms, andverifylinksreports. the whole menu, bestie π
π Point Syntax π
this is the big one, so lock in. β¨
gid:valueβ value is the numeric port GID, of the form:subnet:guid.lid:valueβ value is the numeric LID.lid:value:nodeβ value is the numeric LID; selects the entire node with the given LID.lid:value:port:value2β value is the numeric LID of the node, value2 is the port number.portguid:valueβ value is the numeric port GUID.nodeguid:valueβ value is the numeric node GUID.nodeguid:value1:port:value2β value1 is the numeric node GUID, value2 is the port number.iocguid:valueβ value is the numeric IOC GUID.iocguid:value1:port:value2β value1 is the numeric IOC GUID, value2 is the port number.systemguid:valueβ value is the numeric system image GUID.systemguid:value1:port:value2β value1 is the numeric system image GUID, value2 is the port number.ioc:valueβ value is the IOC Profile ID String (IOC Name).ioc:value1:port:value2β value1 is the IOC Profile ID String (IOC Name), value2 is the port number.iocpat:valueβ value is a glob pattern for the IOC Profile ID String (IOC Name).iocpat:value1:port:value2β value1 is a glob pattern for the IOC Profile ID String (IOC Name), value2 is the port number.ioctype:valueβ value is the IOC type (SRPorOTHER).ioctype:value1:port:value2β value1 is the IOC type (SRPorOTHER); value2 is the port number.node:valueβ value is the node description (node name).node:value1:port:value2β value1 is the node description (node name), value2 is the port number.nodepat:valueβ value is a glob pattern for the node description (node name).nodepat:value1:port:value2β value1 is the glob pattern for the node description (node name), value2 is the port number.nodedetpat:valueβ value is a glob pattern for node details.nodedetpat:value1:port:value2β value1 is the glob pattern for the node details, value2 is the port number.nodetype:valueβ value is the node type (SWorFI).nodetype:value1:port:value2β value1 is the node type (SWorFI), value2 is the port number.rate:valueβ value is a string for the rate (25g,50g,75g,100g); omits switch mgmt port 0.portstate:valueβ value is a string for state (down,init,armed,active,notactive,initarmed).portphysstate:valueβ value is a string for PHYs state (polling,disabled,training,linkup,recovery,offline,test)mtucap:valueβ value is the MTU size (2048,4096,8192,10240); omits switch mgmt port 0.labelpat:valueβ value is a glob pattern for the cable label.lengthpat:valueβ value is a glob pattern for the cable length.cabledetpat:valueβ value is a glob pattern for cable details.cabinflenpat:valueβ value is a glob pattern for cable info length.cabinfvendnamepat:valueβ value is a glob pattern for cable info vendor name.cabinfvendpnpat:valueβ value is a glob pattern for cable info vendor part number.cabinfvendrevpat:valueβ value is a glob pattern for cable info vendor revision.cabinfvendsnpat:valueβ value is a glob pattern for cable info vendor serial number.cabinftype:valueβ value is eitheroptical,passive_copper,active_copper, orunknown.linkdetpat:valueβ value is a glob pattern for link details.portdetpat:valueβ value is a glob pattern for port details.smβ specifies the master subnet manager (SM).smdetpat:valueβ value is a glob pattern for SM details.route:point1:point2β specifies all ports along the routes between the two given points.led:valueβ value is eitheronorofffor the LED port beacon.linkqual:valueβ specifies the ports with a link quality equal to value.linkqualLE:valueβ specifies the ports with a link quality less than or equal to value.linkqualGE:valueβ specifies the ports with a link quality greater than or equal to value.nodepatfile:FILENAMEβ specifies the name of the file with the list of nodepats or node descriptions.nodepairpatfile:FILENAMEβ specifies the name of the file with the list of node pairs, separated by a colon.ldrβ specifies the ports with a non-zero link down reason or neighbor link down reason.ldr:valueβ specifies the ports with a link down reason or neighbor link down reason equal to value.
π Examples π
list all the missing links in the fabric:
opaextractmissinglinks
list all the missing links to a switch named "coresw1":
opaextractmissinglinks -T topology.0:0.xml -F "node:coresw1"
list all the missing connections to end-nodes:
opaextractmissinglinks -o verifyfilinks
list all the missing links on the 2nd HFI's fabric of a multi-plane fabric:
opaextractmissinglinks -h 2 -T /etc/opa/topology.2:1.xml
list all the missing links between two switches:
opaextractmissinglinks -o verifyislinks -T topology.0:0.xml
π reminder bestie: this whole thing is a front end toopareport, so ifopareportis acting up, she's acting up. not her fault, fr fr.
and that's the whole page, gorgeous. πΈ copyright(C) 2015-2019 Intel Corporation, and this lil' manual page is opaextractmissinglinks(8). go find those missing links, you absolute icon. π
β¨π¦
π¦ 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