commit | ad4e7054bad7c2b7029d80ff60f71fdf88e4838c | [log] [tgz] |
---|---|---|
author | Nicolas Palpacuer <np202g@att.com> | Mon Aug 20 16:21:31 2018 -0400 |
committer | Nicolas Palpacuer <np202g@att.com> | Tue Aug 21 13:51:26 2018 +0000 |
tree | 26614c973c2e8c3bf37d87b996139f534c840ba2 | |
parent | 2824a9953e438ba8aa578e8d2730129e3d73d8e5 [diff] |
VOL-1170 Do not set ONU device UNREACHABLE on disable Change-Id: I6b8e9e480fa459a547622ff73937efd97a2c958b
diff --git a/voltha/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py b/voltha/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py index a21980c..5e2f7f3 100644 --- a/voltha/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py +++ b/voltha/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py
@@ -626,7 +626,6 @@ reactor.callLater(0, self._onu_omci_device.stop) self.disable_ports(device) device.oper_status = OperStatus.UNKNOWN - device.connect_status = ConnectStatus.UNREACHABLE device.reason = "openomci-admin-lock" self.adapter_agent.update_device(device)
diff --git a/voltha/adapters/broadcom_onu/broadcom_onu.py b/voltha/adapters/broadcom_onu/broadcom_onu.py index 8b770ec..c787aa3 100644 --- a/voltha/adapters/broadcom_onu/broadcom_onu.py +++ b/voltha/adapters/broadcom_onu/broadcom_onu.py
@@ -1744,7 +1744,6 @@ # Disable all ports on that device self.disable_ports(device) device.oper_status = OperStatus.UNKNOWN - device.connect_status = ConnectStatus.UNREACHABLE self.adapter_agent.update_device(device) except Exception as e: log.exception('exception-in-onu-disable', exception=e)