commit | 7c1240cbdb752bc44b881c3b678a3f6767574340 | [log] [tgz] |
---|---|---|
author | Girish Gowdra <girish@opennetworking.org> | Wed Jul 15 15:06:42 2020 -0700 |
committer | Girish Gowdra <girish@opennetworking.org> | Wed Jul 15 15:26:42 2020 -0700 |
tree | 7f7f281cfc424c4bed8c139fdbfe3c62e3cf5534 | |
parent | acb65b077c45d2e0ce6ff50e0b2bddf9c1732705 [diff] [blame] |
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/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