Skip to content

Commit e86d8fc

Browse files
otherwiseguyralonsoh
authored andcommitted
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 60eb15e)
1 parent fe80262 commit e86d8fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ def notify(self, event, row, updates=None):
666666
class BaseOvnSbIdl(Ml2OvnIdlBase):
667667
@classmethod
668668
def from_server(cls, connection_string, helper):
669+
if 'Chassis_Private' in helper.schema_json['tables']:
670+
helper.register_table('Chassis_Private')
669671
helper.register_table('Chassis')
670672
helper.register_table('Encap')
671673
helper.register_table('Port_Binding')

0 commit comments

Comments
 (0)