Force adding TCONT to internal DB irrespective of it was added before or not.
Change-Id: Id23fcdcdad6918e92133223ac40eb4dee29d49fe
diff --git a/python/adapters/brcm_openomci_onu/omci/brcm_tp_setup_task.py b/python/adapters/brcm_openomci_onu/omci/brcm_tp_setup_task.py
index 82bc51d..aadb8e0 100644
--- a/python/adapters/brcm_openomci_onu/omci/brcm_tp_setup_task.py
+++ b/python/adapters/brcm_openomci_onu/omci/brcm_tp_setup_task.py
@@ -201,6 +201,7 @@
# There can be only one tcont that can be installed per tech-profile download task
# Each tech-profile represents a single tcont and associated gemports
assert len(self._tconts) == 1
+
for tcont in self._tconts:
self.log.debug('tcont-loop', tcont=tcont)
@@ -230,6 +231,7 @@
else:
self.log.debug('tcont-already-assigned', tcont_entity_id=tcont.entity_id, alloc_id=tcont.alloc_id)
+ tcont_entity_id = tcont.entity_id
################################################################################
# GEMS (GemPortNetworkCtp and GemInterworkingTp)