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 16, 2024
1 parent f2fd6d4 commit c74b949
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sos/report/plugins/hbn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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"
packages = ('hbn-repo',)

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

0 comments on commit c74b949

Please sign in to comment.