Skip to content

Commit 976aefb

Browse files
committed
[HBN] Add additional hbn related commands and log files.
Signed-off-by: Hareesh Puthalath <[email protected]>
1 parent 5787b9f commit 976aefb

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

sos/report/plugins/hbn.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class HBN(Plugin, IndependentPlugin):
1414

15-
short_desc = 'HBN (Host Based Network)'
15+
short_desc = 'HBN (Host Based Networking)'
1616
plugin_name = "hbn"
1717
packages = ('hbn-repo',)
1818

@@ -21,4 +21,20 @@ def setup(self):
2121
'/etc/mellanox',
2222
'/var/log/doca/hbn',
2323
'/var/lib/hbn/etc/cumulus',
24+
'/var/log/sfc-install.log',
25+
'/usr/lib/udev', # HBN udev rules
26+
'/tmp/sf_devices', # udev renamed sf devices
27+
'/tmp/sfr_devices', # udev renamed sf representor devices
28+
'/tmp/sfc-activated',
29+
'/tmp/.BR_*', # interim files for updating hbn.conf
30+
'/tmp/.ENABLE_*',
31+
'/tmp/.LINK_*',
32+
])
33+
34+
self.add_journal(units="sfc")
35+
self.add_journal(units="sfc-state-propagation")
36+
37+
self.add_cmd_output([
38+
"mlnx-sf -a show", # short cli output
39+
"mlnx-sf -a show --json --pretty", # verbose output in json format
2440
])

0 commit comments

Comments
 (0)