[VOL-1754] :changes to handle olt disable/re-enable

Change-Id: Ie4df1f223e0fafa0c57d1c419262d368846f6d2c
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 3bc1afb..da96ae3 100644
--- a/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py
+++ b/python/adapters/brcm_openomci_onu/brcm_openomci_onu_handler.py
@@ -707,7 +707,7 @@
 
                 if onu_indication.oper_state == "up":
                     self.create_interface(onu_indication)
-                elif onu_indication.oper_state == "down":
+                elif onu_indication.oper_state == "down" or onu_indication.oper_state=="unreachable":
                     self.update_interface(onu_indication)
                 else:
                     self.log.error("unknown-onu-indication", onu_indication=onu_indication)
@@ -749,7 +749,7 @@
     def update_interface(self, onu_indication):
         self.log.debug('function-entry', onu_indication=onu_indication)
 
-        if onu_indication.oper_state == 'down':
+        if onu_indication.oper_state == 'down' or onu_indication.oper_state == "unreachable":
             self.log.debug('stopping-openomci-statemachine')
             reactor.callLater(0, self._onu_omci_device.stop)