opagenchassis(8)

✨ opagenchassis ✨

okay bestie, so like β€” opagenchassis is a little cutie from the IFSFFCLIRG man page family (that's the manual it lives in, slay) and it does exactly one job but it does it flawlessly: it spits out a list of IPv4, IPv6, and/or TCP names, formatted all nice and pretty so you can literally just drop them into the /etc/opa/chassis file. it's giving copy-paste main character energy πŸ’…


🌸 SYNTAX 🌸

here's the whole vibe, no cap:

opagenchassis [-t  portsfile] [-p  ports]

πŸŽ€ OPTIONS πŸŽ€

okay so these are the levers you can pull:

  • --help β€” prints the full help text for you. the way it just tells you things? obsessed 🫢
  • -t portsfile β€” points at the file that holds the list of local HFI ports used to go access the fabric for analysis. the default is the /etc/opa/ports file, so if you don't say anything it just assumes that one. iconic default behaviour fr fr ✨
  • -p ports β€” gives the list of local HFI ports used to access fabrics for counter clear. the default is the first active port.

and now the lore you need, bestie: the first HFI in the system is 1, and the first port on an HFI is 1. the format is hfi:port, and here's the whole menu:

  • 0:0 β€” first active port in system.
  • 0:y β€” port y within system.
  • x:0 β€” first active port on HFI x.
  • x:y β€” HFI x, port y.

like… pick your fighter πŸ¦‹


🌈 ENVIRONMENT VARIABLES 🌈

these little guys are also used by this command, so keep an eye on 'em:

  • PORTS β€” list of ports. gets used when -t and -p are both absent (it's the backup bestie).
  • PORTS_FILE β€” file containing the list of ports. also used in absence of -t and -p. she's the understudy πŸ’œ

⭐ EXAMPLES ⭐

living proof, look:

opagenchassis
opagenchassis -p '1:1 1:2 2:1 2:2'

see? ate. no crumbs πŸ”₯


lowkey a reminder so you don't get caught lacking: if -t and -p aren't there, the environment variables PORTS and PORTS_FILE step in, and if those aren't there either, the defaults are /etc/opa/ports for the file and the first active port for the port list. that's just how she rolls πŸŽ€

and that's the whole page, bestie!! πŸ’– Copyright(C) 2015-2019 Intel Corporation β€” yes queen, Intel said it, we just vibed it up 🌸 this was the opagenchassis(8) page from the IFSFFCLIRG manual, mwah, go generate some chassis names πŸ§šβ€β™€οΈβœ¨