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
This commit is contained in:
Terry Wilson 2024-01-11 18:44:23 -06:00
parent e9cf2fd6cc
commit 60eb15ed30
1 changed files with 2 additions and 0 deletions

View File

@ -670,6 +670,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')