[VOL-4371] Voltha protos cleanup
Details can be found at:
https://docs.google.com/document/d/1UzfuiPzxYYTULyERk8nKfgzW9QAnwEdtfw_J4UoFyYo/edit
Change-Id: Iad2efddf306234e282af5d518fd435a6b50b1c41
diff --git a/protos/voltha_protos/extensions.proto b/protos/voltha_protos/extensions.proto
index 81c7942..9e5b0c1 100755
--- a/protos/voltha_protos/extensions.proto
+++ b/protos/voltha_protos/extensions.proto
@@ -19,9 +19,43 @@
package extension;
-import public "voltha_protos/ext_config.proto";
+import "voltha_protos/ext_config.proto";
import "google/protobuf/empty.proto";
+message ValueSet {
+ string id = 1;
+ oneof value{
+ config.AlarmConfig alarm_config = 2;
+ }
+}
+
+message ValueType {
+ enum Type {
+ EMPTY = 0;
+ DISTANCE = 1;
+ }
+}
+
+message ValueSpecifier {
+ string id = 1;
+ ValueType.Type value = 2;
+}
+
+message ReturnValues {
+ uint32 Set = 1; // Specifies what values are
+ // set/valid in return
+
+ uint32 Unsupported = 2; // Specifies requested values not
+ // supported by the device
+
+ uint32 Error = 3; // Specifies requested values not
+ // fetched because of error
+
+ uint32 Distance = 4; // Value of distance Set includes
+ // DISTANCE
+
+}
+
message GetDistanceRequest {
string onuDeviceId = 1;
}