VOL-1124 Revert ONU disable (in OLT) till re-enable is fixed
Change-Id: I664acae72ed5c0f370a14c634822d39edef57002
diff --git a/voltha/adapters/broadcom_onu/broadcom_onu.py b/voltha/adapters/broadcom_onu/broadcom_onu.py
index 5d1103e..6e17c8c 100644
--- a/voltha/adapters/broadcom_onu/broadcom_onu.py
+++ b/voltha/adapters/broadcom_onu/broadcom_onu.py
@@ -1497,7 +1497,7 @@
port_no = parent_port_num
else:
uni = self.uni_ports[0]
- port_no = device.proxy_address.channel_id + uni
+ port_no = device.proxy_address.channel_id + uni
# register physical ports
uni_port = Port(
port_no=uni,
@@ -1743,6 +1743,7 @@
device.oper_status = OperStatus.UNKNOWN
device.connect_status = ConnectStatus.UNREACHABLE
self.adapter_agent.update_device(device)
+ '''
# Disable in parent device (OLT)
parent_device = self.adapter_agent.get_device(device.parent_id)
@@ -1755,6 +1756,7 @@
parent_adapter.disable_child_device(parent_device.id, device)
except AttributeError:
self.log.debug('parent-device-disable-child-not-implemented')
+ '''
except Exception as e:
log.exception('exception-in-onu-disable', exception=e)