VOL-1030 Ignore bulk flow update if OLT is operational down.

This seems to fix voltha from 'hanging' when the openolt
driver is killed. Not entirely certain why - but it appears
that, when the gRPC connection is lost, the logical device's
state is made to be down. This causes ONOS to delete flows
trigerring the bulk flow update to the adapter. The adapter
attempts to make gRPC calls to the driver which fail after
connection timeouts. Likely twisted thread is busy with
the flow programming causing voltha to hang.

Change-Id: I9f07479f85ce2bf6cffe40c663581c013c897495
diff --git a/voltha/adapters/openolt/openolt_device.py b/voltha/adapters/openolt/openolt_device.py
index 317c2c8..3a6b4d2 100644
--- a/voltha/adapters/openolt/openolt_device.py
+++ b/voltha/adapters/openolt/openolt_device.py
@@ -957,6 +957,10 @@
                 hex(ord(vendor_specific[3]) & 0x0f)[2:]])
 
     def update_flow_table(self, flows):
+        if self.is_down():
+            self.log.info('OLT is down, ignore update flow table')
+            return
+
         device = self.adapter_agent.get_device(self.device_id)
         self.log.debug('update flow table', number_of_flows=len(flows))
         in_port = None