File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 12
12
13
13
class HBN (Plugin , IndependentPlugin ):
14
14
15
- short_desc = 'HBN (Host Based Network )'
15
+ short_desc = 'HBN (Host Based Networking )'
16
16
plugin_name = "hbn"
17
+ vsctl = "ovs-vsctl"
17
18
packages = ('hbn-repo' ,)
18
19
19
20
def setup (self ):
20
21
self .add_copy_spec ([
21
22
'/etc/mellanox' ,
22
23
'/var/log/doca/hbn' ,
23
24
'/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" ,
24
41
])
You can’t perform that action at this time.
0 commit comments