[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>
This commit is contained in:
Elvira García 2021-04-16 15:09:48 +02:00
parent 08ff64034e
commit 662cd60075
1 changed files with 2 additions and 0 deletions

View File

@ -672,6 +672,8 @@ class OvnSbIdl(OvnIdlDistributedLock):
def from_server(cls, connection_string, helper, driver):
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')