Skip to content

Commit

Permalink
[HBN] Add additional hbn related commands and log files.
Browse files Browse the repository at this point in the history
Signed-off-by: Hareesh Puthalath <[email protected]>
  • Loading branch information
hareeshpc committed Nov 1, 2024
1 parent 5787b9f commit 4005886
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion sos/report/plugins/hbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class HBN(Plugin, IndependentPlugin):

short_desc = 'HBN (Host Based Network)'
short_desc = 'HBN (Host Based Networking)'
plugin_name = "hbn"
packages = ('hbn-repo',)

Expand All @@ -21,4 +21,20 @@ def setup(self):
'/etc/mellanox',
'/var/log/doca/hbn',
'/var/lib/hbn/etc/cumulus',
'/var/log/sfc-install.log',
'/usr/lib/udev', # HBN udev rules
'/tmp/sf_devices', # udev renamed sf devices
'/tmp/sfr_devices', # udev renamed sf representor devices
'/tmp/sfc-activated',
'/tmp/.BR_*', # interim files for updating hbn.conf
'/tmp/.ENABLE_*',
'/tmp/.LINK_*',
])

self.add_journal(units="sfc")
self.add_journal(units="sfc-state-propagation")

self.add_cmd_output([
"mlnx-sf -a show", # short cli output
"mlnx-sf -a show --json --pretty", # verbose json output
])

0 comments on commit 4005886

Please sign in to comment.