Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o -�_g3 � @ sZ d dl Z d dlmZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � N)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc s@ e Zd ZdZdZdZdZg d�ZdZdd� Z � fd d �Z � ZS )�OVNHostzOVN Controller�ovn_host)�network�virt�openstack_edpmzovn-controller.pid)z/var/lib/openvswitch/ovnz/usr/local/var/run/openvswitchz/run/openvswitch� c s� t j�d�r� j�t j�d�� � �d�r� �d� n� �d� � �� fdd�� jD �� � �d� � �� j� d�� j� d �� j� d �g� � j dd� d S ) N� OVS_RUNDIR�all_logs� /var/log/ovn/�/var/log/ovn/*.logc s g | ] }� � |� j��qS � )� path_join�pidfile)�.0�pp��selfr �=/usr/lib/python3/dist-packages/sos/report/plugins/ovn_host.py� <listcomp>% s �z!OVNHost.setup.<locals>.<listcomp>z/etc/sysconfig/ovn-controllerz)ovs-ofctl -O OpenFlow13 dump-flows br-intzovs-vsctl list-brzovs-vsctl list Open_vSwitchzovn-controller)�units) �os�environ�get� pid_paths�append� get_option� add_copy_spec�add_cmd_output�ovs_cmd_pre�add_journalr r r r �setup s � �z OVNHost.setupc s"