VOL-3338:
- Parse PQ ME only with relevant information. Also optimize
logic of populating the map of TCONT/UNU port entity ID to PQ entity ID.
- Force adding TCONT to internal DB irrespective of it was added before or not.
- Bump version to 2.4.5
Change-Id: I3ad5a33897ab6b3c5db18d16740b84a13002a452
(cherry picked from commit acb65b077c45d2e0ce6ff50e0b2bddf9c1732705)
diff --git a/python/adapters/brcm_openomci_onu/pon_port.py b/python/adapters/brcm_openomci_onu/pon_port.py
index 634fd7e..2ee3344 100644
--- a/python/adapters/brcm_openomci_onu/pon_port.py
+++ b/python/adapters/brcm_openomci_onu/pon_port.py
@@ -177,7 +177,8 @@
return False # already created
self.log.info('add-tcont', tcont=tcont.alloc_id, reflow=reflow)
- self._tconts[tcont.alloc_id] = tcont
+ if tcont.alloc_id not in self._tconts:
+ self._tconts[tcont.alloc_id] = tcont
return True
@inlineCallbacks