Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions sos/report/plugins/openvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ class OpenVSwitch(Plugin):
short_desc = 'OpenVSwitch networking'
plugin_name = "openvswitch"
profiles = ('network', 'virt')

services = (
'openvswitch',
'openvswitch-nonetwork',
'ovs-vswitchd',
'ovsdb-server',
'ovs-configuration',
'openvswitch-ipsec',
)
actl = "ovs-appctl"
vctl = "ovs-vsctl"
ofctl = "ovs-ofctl"
Expand Down Expand Up @@ -160,13 +169,6 @@ def setup(self):
self.add_cmd_output(f"{self.vctl} -t 5 show",
tags="ovs_vsctl_show")

# Gather systemd services logs
self.add_journal(units="openvswitch")
self.add_journal(units="openvswitch-nonetwork")
self.add_journal(units="ovs-vswitchd")
self.add_journal(units="ovsdb-server")
self.add_journal(units="ovs-configuration")
self.add_journal(units="openvswitch-ipsec")
self.collect_ovs_info()
self.collect_datapath()
self.collect_ovs_bridge_info()
Expand Down
Loading