VOL-1194 Get device info (vendor, versions, technology, resource manager parameters)
Change-Id: Ie6b4b8c298696321e34444ac3d3b4a965c449bba
diff --git a/protos/openolt.proto b/protos/openolt.proto
index 2ee2346..4178f38 100644
--- a/protos/openolt.proto
+++ b/protos/openolt.proto
@@ -115,7 +115,14 @@
body: "*"
};
}
-
+
+ rpc GetDeviceInfo(Empty) returns (DeviceInfo) {
+ option (google.api.http) = {
+ post: "/v1/GetDeviceInfo"
+ body: "*"
+ };
+ }
+
rpc Reboot(Empty) returns (Empty) {
option (google.api.http) = {
post: "/v1/Reboot"
@@ -232,6 +239,21 @@
bytes pkt = 2;
}
+message DeviceInfo {
+ string vendor = 1;
+ string model = 2;
+ string hardware_version = 3;
+ string firmware_version = 4;
+ string technology = 5;
+ fixed32 onu_id_start = 6;
+ fixed32 onu_id_end = 7;
+ fixed32 alloc_id_start = 8;
+ fixed32 alloc_id_end = 9;
+ fixed32 gemport_id_start = 10;
+ fixed32 gemport_id_end = 11;
+ fixed32 pon_ports = 12;
+}
+
message Classifier {
fixed32 o_tpid = 1;
fixed32 o_vid = 2;