Skip to content

Commit

Permalink
Add HBN plugin
Browse files Browse the repository at this point in the history
HBN stand for a host based networking
  • Loading branch information
filanov committed Sep 11, 2024
1 parent 611e70e commit c1d7037
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions sos/report/plugins/hbn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES.
# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.report.plugins import Plugin, IndependentPlugin


class HBN(Plugin, IndependentPlugin):

short_desc = 'HBN (Host Based Network)'
plugin_name = "hbn"

def setup(self):
self.add_copy_spec([
'/etc/mellanox'
'/var/log/doca/hbn',

Check warning

Code scanning / CodeQL

Implicit string concatenation in a list Warning

Implicit string concatenation. Maybe missing a comma?
'/var/lib/hbn/etc/cumulus',
])

0 comments on commit c1d7037

Please sign in to comment.