Skip to content

Commit 8f15164

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 222c997 commit 8f15164

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
@@ -667,6 +667,8 @@ def notify(self, event, row, updates=None):
667667
class BaseOvnSbIdl(Ml2OvnIdlBase):
668668
@classmethod
669669
def from_server(cls, connection_string, helper):
670+
if 'Chassis_Private' in helper.schema_json['tables']:
671+
helper.register_table('Chassis_Private')
670672
helper.register_table('Chassis')
671673
helper.register_table('Encap')
672674
helper.register_table('Port_Binding')

0 commit comments

Comments
 (0)