From d745b1aa046a7ea185b2f77487e26bb6a748cac1 Mon Sep 17 00:00:00 2001 From: Edward Hope-Morley Date: Fri, 6 Oct 2023 10:20:40 +0100 Subject: [PATCH] Add path_mtu and global_physnet_mtu to openstack Include these in set of neutron configs to display. --- hotsos/core/plugins/openstack/openstack.py | 3 ++- hotsos/plugin_extensions/openstack/service_features.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hotsos/core/plugins/openstack/openstack.py b/hotsos/core/plugins/openstack/openstack.py index c5b008b79..249115406 100644 --- a/hotsos/core/plugins/openstack/openstack.py +++ b/hotsos/core/plugins/openstack/openstack.py @@ -405,7 +405,8 @@ def __init__(self): 'plugins/ml2/openvswitch_agent.ini', 'l3-agent': 'l3_agent.ini', 'dhcp-agent': 'dhcp_agent.ini', - 'ovn': 'ovn.ini'}, + 'ovn': 'ovn.ini', + 'ml2': 'plugins/ml2/ml2_conf.ini'}, systemd_masked_services=['nova-api-metadata'], systemd_extra_services=['apache2'], systemd_deprecated_services=['neutron-lbaas-agent', diff --git a/hotsos/plugin_extensions/openstack/service_features.py b/hotsos/plugin_extensions/openstack/service_features.py index 9b3d62608..96e423b9d 100644 --- a/hotsos/plugin_extensions/openstack/service_features.py +++ b/hotsos/plugin_extensions/openstack/service_features.py @@ -3,6 +3,7 @@ FEATURES = {'neutron': { 'main': { + 'DEFAULT': ['global_physnet_mtu'], 'AGENT': ['availability_zone']}, 'openvswitch-agent': { 'AGENT': ['l2_population'], @@ -14,7 +15,9 @@ 'enable_isolated_metadata', 'ovs_use_veth']}, 'ovn': { - 'DEFAULT': ['enable_distributed_floating_ip']}}, + 'DEFAULT': ['enable_distributed_floating_ip']}, + 'ml2': { + 'ML2': ['path_mtu']}}, 'nova': { 'main': { 'DEFAULT': ['vcpu_pin_set'],