[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: If815965f538b764cca4cc31b83ef5f4d4a50fc20
Signed-off-by: Elvira García <egarciar@redhat.com>
(cherry picked from commit 662cd60075)
This commit is contained in:
Elvira García 2021-04-16 15:09:48 +02:00
parent c5d24b4b44
commit 611a86b8f5
1 changed files with 2 additions and 0 deletions

View File

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