VOL-1072 OpenOLT - Minimal handling of alarm indication

OpenOlt driver is sending alarm indications to the adapter
which are currently not handled. Adding minimal handling
of the alarm to avoid logging of unknown indication.

Change-Id: Ieb7cb5e5097745a50aea8d415f2f4112feb72478
diff --git a/voltha/adapters/openolt/openolt_device.py b/voltha/adapters/openolt/openolt_device.py
index 7b3e272..317c2c8 100644
--- a/voltha/adapters/openolt/openolt_device.py
+++ b/voltha/adapters/openolt/openolt_device.py
@@ -191,6 +191,8 @@
                 elif ind.HasField('flow_stats'):
                     reactor.callFromThread(self.flow_statistics_indication,
                                            ind.flow_stats)
+                elif ind.HasField('alarm_ind'):
+                    self.log.info('alarm indication not handled')
                 else:
                     self.log.warn('unknown indication type')
 
diff --git a/voltha/adapters/openolt/protos/openolt.proto b/voltha/adapters/openolt/protos/openolt.proto
index 515bd51..d5a83f2 100644
--- a/voltha/adapters/openolt/protos/openolt.proto
+++ b/voltha/adapters/openolt/protos/openolt.proto
@@ -60,6 +60,7 @@
         };
     }
 
+
     rpc EnableIndication(Empty) returns (stream Indication) {}
 }
 
@@ -74,6 +75,14 @@
         PacketIndication pkt_ind = 7;
         PortStatistics port_stats = 8;
         FlowStatistics flow_stats = 9;
+        AlarmIndication alarm_ind= 10;
+    }
+}
+
+message AlarmIndication {
+    oneof data {
+        LosIndication los_ind = 1;
+        DyingGaspIndication dying_gasp_ind = 2;
     }
 }
 
@@ -223,4 +232,15 @@
     fixed32 timestamp = 16;
 }
 
+message LosIndication {
+    fixed32 intf_id = 1;
+    string status = 2;
+}
+
+message DyingGaspIndication {
+    fixed32 intf_id = 1;
+    fixed32 onu_id = 2;
+    string status = 3;
+}
+
 message Empty {}