VOL-3248 Support for SetExtValue API

         This commits adds a new SetExtValue API in the VOLTHA
         core.

Change-Id: I2dd022cee9b22dd1d34f53420d5d75e68d440975
diff --git a/protos/voltha_protos/openolt.proto b/protos/voltha_protos/openolt.proto
index 8c4c559..6a38963 100644
--- a/protos/voltha_protos/openolt.proto
+++ b/protos/voltha_protos/openolt.proto
@@ -22,6 +22,7 @@
 import "google/api/annotations.proto";
 import public "voltha_protos/tech_profile.proto";
 import public "voltha_protos/common.proto";
+import "voltha_protos/ext_config.proto";
 
 service Openolt {
 
@@ -188,7 +189,7 @@
         };
     }
 
-    rpc OnuItuPonAlarmSet(OnuItuPonAlarm) returns (Empty) {
+    rpc OnuItuPonAlarmSet(config.OnuItuPonAlarm) returns (Empty) {
         option (google.api.http) = {
           post: "/v1/OnuItuPonAlarmSet"
           body: "*"
@@ -447,50 +448,6 @@
     fixed32 tech_profile_id = 15;
 }
 
-message OnuItuPonAlarm {
-    enum AlarmID {
-        RDI_ERRORS = 0; // RDI errors
-    }
-
-    enum AlarmReportingCondition {
-        RATE_THRESHOLD = 0; // The alarm is triggered if the stats delta value between samples crosses the configured threshold boundary
-        RATE_RANGE = 1; // The alarm is triggered if the stats delta value between samples deviates from the configured range
-        VALUE_THRESHOLD = 2; // The alarm is raised if the stats sample value becomes greater than this level.  The alarm is cleared when the host read the stats
-    }
-
-    message SoakTime {
-        fixed32 active_soak_time = 1;
-        fixed32 clear_soak_time = 2;
-    }
-
-    message RateThresholdConfig {
-        fixed64 rate_threshold_rising = 1;
-        fixed64 rate_threshold_falling = 2;
-        SoakTime soak_time = 3;
-    }
-
-    message RateRangeConfig {
-        fixed64 rate_range_lower = 1;
-        fixed64 rate_range_upper = 2;
-        SoakTime soak_time = 3;
-    }
-
-    message ValueThresholdConfig {
-        fixed64 threshold_limit = 1;
-        SoakTime soak_time = 2;
-    }
-
-    fixed32 pon_ni = 1;
-    fixed32 onu_id = 2;
-    AlarmID alarm_id = 3;
-    AlarmReportingCondition alarm_reporting_condition = 4;
-    oneof config {
-        RateThresholdConfig rate_threshold_config = 5;
-        RateRangeConfig rate_range_config = 6;
-        ValueThresholdConfig value_threshold_config = 7;
-    }
-}
-
 message SerialNumber {
     bytes vendor_id = 1;
     bytes vendor_specific = 2;