Browse Source

[OVN] Fix FDB table not registered in OvnSbIdl

With MAC learning a new table FDB has been added to OVN [0]. It needs to
be registered into OvnSbIdl so that it is recognized.

[0] 6ec3b12590

Related-Bug: #1904412
Change-Id: I08ae3cfb52c74e013eb6ad57254bc065227d60a4
Signed-off-by: Elvira García <egarciar@redhat.com>
(manually cherry picked from commit 662cd60075)
changes/00/786800/2
Elvira García 2 months ago
parent
commit
1c85d92eff
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      networking_ovn/ovsdb/ovsdb_monitor.py

+ 2
- 0
networking_ovn/ovsdb/ovsdb_monitor.py View File

@ -530,6 +530,8 @@ class OvnSbIdl(OvnIdlDistributedLock):
helper = idlutils.get_schema_helper(connection_string, schema_name)
if 'Chassis_Private' in helper.schema_json['tables']:
helper.register_table('Chassis_Private')
if 'FDB' in helper.schema_json['tables']:
helper.register_table('FDB')
helper.register_table('Chassis')
helper.register_table('Encap')
helper.register_table('Port_Binding')


Loading…
Cancel
Save