Skip to content

Commit 694e359

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

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

sos/report/plugins/hbn.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,30 @@
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"
17+
vsctl = "ovs-vsctl"
1718
packages = ('hbn-repo',)
1819

1920
def setup(self):
2021
self.add_copy_spec([
2122
'/etc/mellanox',
2223
'/var/log/doca/hbn',
2324
'/var/lib/hbn/etc/cumulus',
25+
'/var/log/containers',
26+
self.path_join('/var/log', 'sfc-install.log'),
27+
self.path_join('/tmp', 'sf_devices'),
28+
self.path_join('/tmp', 'sfr_devices'),
29+
self.path_join('/tmp', 'sfc-activated'),
30+
])
31+
32+
self.add_journal(units="sfc")
33+
self.add_journal(units="sfc-state-propagation")
34+
35+
self.add_cmd_output([
36+
f"{self.vsctl} -t 5 list Open_vSwitch .",
37+
f"{self.vsctl} -t 5 show",
38+
"crictl ps -a",
39+
"mlnx-sf -a show",
40+
"mlnx-sf -a show --json --pretty",
2441
])

0 commit comments

Comments
 (0)