Skip to content

Commit bd19270

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 94cf7a4 commit bd19270

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
@@ -670,6 +670,8 @@ def notify(self, event, row, updates=None):
670670
class BaseOvnSbIdl(Ml2OvnIdlBase):
671671
@classmethod
672672
def from_server(cls, connection_string, helper):
673+
if 'Chassis_Private' in helper.schema_json['tables']:
674+
helper.register_table('Chassis_Private')
673675
helper.register_table('Chassis')
674676
helper.register_table('Encap')
675677
helper.register_table('Port_Binding')

0 commit comments

Comments
 (0)