How can I set the Hostname/Description of a Mellanox/Infiniband unmanaged switch?
I would like a way to abstractly distinguish quickly which switches are which when doing 'ibswitches' or 'ibnetdiscover'.
For HCAs that are in Servers, the hostnames are set, which is great. Just need a solution for switches.
Example: (All of the switches come up as the following "SwitchX - Mellanox Technologies")
[26] "S-e41d2de300756550"[25] # "SwitchX - Mellanox Technologies" lid 6 4xFDR
[27] "S-e41d2de30074bc40"[21] # "SwitchX - Mellanox Technologies" lid 5 4xFDR
This would be beneificial when looking for ibnetdiscover and being able to quickly find which HCA card goes into which switch....
vendid=0x2c9
devid=0x1011
sysimgguid=0xf45214d300514560
caguid=0xf452140300514560
Ca 1 "H-f45214d300514560" # "mgmt2 HCA-2"
[1](f45214d300514560) "S-e41d2dd3007551f0"[15] # lid 11 lmc 0 "SwitchX - Mellanox Technologies" lid 10 4xFDR