opa_osd_query(1)

opa_osd_query πŸ’–

okay bestie, welcome to the IFSFFCLIRG man page corner of the internet ✨ this one is opa_osd_query(1) and it is literally the little tool that goes digging in the opasadb for path records πŸ•΅οΈβ™€οΈ


🌸 NAME 🌸

opa_osd_query

Queries the opasadb for path records. This tool lets you build your own custom path query and then just... look at the result πŸ‘€ no cap. You want answers, it goes and gets them.


✨ SYNTAX ✨

opa_osd_query [-v | -verbose] | [-s | --slid] | [-d | --dlid] | [-S |
--sgid] | [-D | --dgid]| [-k | --pkey] | [-i | --sid] | [-h | --hfi] |
[-p | --port]

she's long, she's iconic, she's giving options πŸ’…


πŸ’… OPTIONS πŸ’…

NOTE: read this part, fr fr, because the rules are rules 🫢
  • All arguments are optional, but ill-formed queries can be expected to fail. You must provide at least a pair of LIDs or a pair of GIDs. like, pick a lane bestie 😭
  • The mixing of lids and gids in a query is not permitted. no blending, no mashups, we don't do that here πŸ’€
  • SID or PKey can be provided, but not both. it's one or the other, choose your fighter βš”οΈ
  • If you have multiple HFIs, the same LID can appear on more than one HFI, therefore you must specify which HFI to use when searching by LIDs. otherwise it's giving chaos πŸŒͺ️
  • Numbers can be in decimal, hex, or octal. math is math, go off πŸ”’

  • --help β€” Produces full help text. she will explain herself, at length, and honestly? queen behavior πŸ‘‘
  • -v, --verbose arg β€” Sets debugging level. Range is 1 - 7. turn it up and watch her overshare πŸ—£οΈ
  • -s, --slid arg β€” Specifies source LID. the starting point, the origin story ✨
  • -d, --dlid arg β€” Specifies destination LID. where we're headed, main character destination energy 🎯
  • -S, --sgid arg β€” Specifies source GID in GID format (0x00000000:0x00000000) or in Inet6 format (x:x:x:x:x:x:x:x). yes you get two format options, spoiled fr πŸŽ€
  • -D, --dgid arg β€” Specifies destination GID in GID format (0x00000000:0x00000000) or in Inet6 format (x:x:x:x:x:x:x:x). same deal, but for the other end of the journey πŸ¦‹
  • -k, --pkey arg β€” Specifies partition key. just remember: PKey and SID are NOT a package deal 🚫
  • -i, --sid arg β€” Specifies service ID. and again β€” SID and PKey, pick one, bestie πŸ™ˆ
  • -h, --hfi arg β€” Specifies the HFI to use. Default is first HFI. The HFI can be identified by name, for example, hfi1_0 or by number, for example, 1, 2, 3, ... . name or digits, your call, she's flexible πŸ’œ
  • -p, --port arg β€” Specifies the port to use. Default is first port. defaults stay undefeated ngl πŸ†

🌈 EXAMPLE 🌈

opa_osd_query -s2 -d4

that's it. that's the whole vibe. source LID 2, destination LID 4, query sent, results acquired ⭐


Copyright(C) 2015-2019 Intel Corporation 🫢

and that's the whole page bestie!! this lil manual page lives in the IFSFFCLIRG man page set, brought to you by the fine folks at Intel Corporation, copyright spanning 2015 through 2019 πŸ’– go forth and query, you've got this, slay πŸŽ€βœ¨πŸ¦‹