From 648a97e062af2d562658fb90253facdf5bbff5bd Mon Sep 17 00:00:00 2001 From: Roman Safronov Date: Tue, 30 Apr 2024 12:56:11 +0300 Subject: [PATCH] Remove redundant br-int check On podified environment there is no more br-int bridge. Also the check is redundant since the option is available by default. Change-Id: I07612ceae6a3892eb8fb3a68fa541672139d9c81 --- whitebox_neutron_tempest_plugin/config.py | 3 --- whitebox_neutron_tempest_plugin/tests/scenario/test_mtu.py | 7 ------- 2 files changed, 10 deletions(-) diff --git a/whitebox_neutron_tempest_plugin/config.py b/whitebox_neutron_tempest_plugin/config.py index 1a5c1ea..73cb22a 100644 --- a/whitebox_neutron_tempest_plugin/config.py +++ b/whitebox_neutron_tempest_plugin/config.py @@ -119,9 +119,6 @@ WhiteboxNeutronPluginOptions = [ cfg.StrOpt('ml2_plugin_config', default='/etc/neutron/plugins/ml2/ml2_conf.ini', help='Path to ml2 plugin config.'), - cfg.StrOpt('node_integration_bridge', - default='br-int', - help="OpenvSwitch bridge dedicated for OVN's use."), cfg.StrOpt('ext_bridge', default='{"default": "br-ex", "alt": "ospbr"}', help="Bridge dedicated for external network. Dict with values " diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_mtu.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_mtu.py index fb7b07b..cbad7b4 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_mtu.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_mtu.py @@ -119,13 +119,6 @@ class GatewayMtuTest(base.TrafficFlowTest): def _validate_environment_config(self): msg = "ovn_emit_need_to_frag is not set to 'true' in config file" for node in self.nodes: - result = node['client'].exec_command( - "sudo ovs-appctl -t ovs-vswitchd dpif/show-dp-features {} | " - "grep 'Check pkt'".format( - WB_CONF.node_integration_bridge)) - if 'Yes' not in result: - raise self.skipException( - "Path MTU discovery is not supported") if WB_CONF.openstack_type == 'devstack': if node['is_controller'] is False: continue