Register Chassis_Private table in BaseOvnSbIdl

As of Ib3c6f0dc01efd31430691e720ba23ccb4ede65fa, the
MaintenanceWorker checks for Chassis_Private table support and
uses it to remove duplicate Chassis/Chassis_Private entries. The
Chassis_Private table was not monitored in the BaseOvnSbIdl class
which the MaintenanceWorker uses.

Closes-Bug: #2049265
Change-Id: I711996b7644e80bc195833e4429e4d745728f9cf
(cherry picked from commit 60eb15ed30)
This commit is contained in:
Terry Wilson 2024-01-11 18:44:23 -06:00 committed by Rodolfo Alonso Hernandez
parent 222c997022
commit 8f15164068
1 changed files with 2 additions and 0 deletions

View File

@ -667,6 +667,8 @@ class BaseOvnIdl(Ml2OvnIdlBase):
class BaseOvnSbIdl(Ml2OvnIdlBase):
@classmethod
def from_server(cls, connection_string, helper):
if 'Chassis_Private' in helper.schema_json['tables']:
helper.register_table('Chassis_Private')
helper.register_table('Chassis')
helper.register_table('Encap')
helper.register_table('Port_Binding')