commit | a98d9fe81809db478726b22dc49521bcd5eba16f | [log] [tgz] |
---|---|---|
author | aishwaryarana01 <aishwaryarana01@gmail.com> | Wed May 08 12:09:06 2019 -0500 |
committer | Aishwarya Rana <aishwaryarana01@gmail.com> | Thu May 09 21:25:27 2019 +0000 |
tree | 641b5d17d8b37688286d467e4f492e25e3af73db | |
parent | ad9a0f102abb99712e3692d55a60a110326aaf70 [diff] |
onu start collecting pm metrics Change-Id: If449f565cb28d33dfa6aa30a1bd4930feae91820
diff --git a/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py b/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py index 4e86684..bcd4fc4 100644 --- a/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py +++ b/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py
@@ -253,6 +253,10 @@ # Note, ONU ID and UNI intf set in add_uni_port method self._onu_omci_device.alarm_synchronizer.set_alarm_params(mgr=self.alarms, ani_ports=[self._pon]) + + #Start collecting stats from the device after a brief pause + reactor.callLater(10, self.pm_metrics.start_collector) + self.enabled = True else: self.log.info('onu-already-activated')