From e5dfce46361aaf8a99632dd37fe361847816937b Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Fri, 12 Sep 2025 21:15:28 +0000 Subject: [PATCH] [OVN] ovsdbapp ``chassis_del`` removes ``Chassis_Private`` too The method ``chassis_del`` removes both ``Chassis`` and ``Chassis_Private`` registers since ovsdbapp 2.7.0. Signed-off-by: Rodolfo Alonso Hernandez Change-Id: I61da57d6a0a70dd735c6b2ef850fccfac31de7cf --- neutron/tests/functional/base.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/neutron/tests/functional/base.py b/neutron/tests/functional/base.py index 668f1b2e75e..a4df0ab7c01 100644 --- a/neutron/tests/functional/base.py +++ b/neutron/tests/functional/base.py @@ -29,7 +29,6 @@ from oslo_config import cfg from oslo_log import log from oslo_utils import timeutils from oslo_utils import uuidutils -from ovsdbapp.backend.ovs_idl import idlutils from neutron.agent.linux import utils from neutron.api import extensions as exts @@ -468,12 +467,3 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase, def del_fake_chassis(self, chassis, if_exists=True): self.sb_api.chassis_del( chassis, if_exists=if_exists).execute(check_error=True) - try: - self.sb_api.db_destroy( - 'Chassis_Private', chassis).execute(check_error=True) - except idlutils.RowNotFound: - # NOTE(ykarel ): ovsdbapp >= 2.7.0 handles Chassis_Private - # record delete with chassis - # try/except can be dropped when neutron requirements.txt - # include ovsdbapp>=2.7.0 - pass