[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/omci_mib_db.proto b/protos/voltha_protos/omci_mib_db.proto
index 1813845..62f1656 100755
--- a/protos/voltha_protos/omci_mib_db.proto
+++ b/protos/voltha_protos/omci_mib_db.proto
@@ -20,48 +20,42 @@
package omci;
-import "voltha_protos/meta.proto";
-
-
message MibAttributeData {
- string name = 1 [(voltha.access) = READ_ONLY];
+ string name = 1;
string value = 2;
}
message MibInstanceData {
- uint32 instance_id = 1 [(voltha.access) = READ_ONLY];
+ uint32 instance_id = 1;
string created = 2;
string modified = 3;
- repeated MibAttributeData attributes = 4
- [(voltha.child_node) = {key: "name"}];
+ repeated MibAttributeData attributes = 4;
}
message MibClassData {
- uint32 class_id = 1 [(voltha.access) = READ_ONLY];
+ uint32 class_id = 1;
- repeated MibInstanceData instances= 2
- [(voltha.child_node) = {key: "instance_id"}];
+ repeated MibInstanceData instances= 2;
}
message ManagedEntity {
- uint32 class_id = 1 [(voltha.access) = READ_ONLY];
- string name = 2 [(voltha.access) = READ_ONLY];
+ uint32 class_id = 1;
+ string name = 2;
}
message MessageType {
- uint32 message_type = 1 [(voltha.access) = READ_ONLY];
+ uint32 message_type = 1;
}
message MibDeviceData {
- string device_id = 1 [(voltha.access) = READ_ONLY];
+ string device_id = 1;
string created = 2;
string last_sync_time = 3;
uint32 mib_data_sync = 4;
uint32 version = 5;
- repeated MibClassData classes = 6
- [(voltha.child_node) = {key: "class_id"}];
+ repeated MibClassData classes = 6;
repeated ManagedEntity managed_entities = 7;
repeated MessageType message_types = 8;