VOL-1194 Get device info (vendor, versions, technology, resource manager parameters)

Change-Id: Ie6b4b8c298696321e34444ac3d3b4a965c449bba
diff --git a/common/core.h b/common/core.h
index 470bce0..1bf84d2 100644
--- a/common/core.h
+++ b/common/core.h
@@ -53,6 +53,7 @@
 Status FlowRemove_(uint32_t flow_id, const std::string flow_type);
 Status Disable_();
 Status Reenable_();
+Status GetDeviceInfo_(openolt::DeviceInfo* device_info);
 
 void stats_collection();
 #endif
diff --git a/common/server.cc b/common/server.cc
index 65a9d96..433ecd5 100644
--- a/common/server.cc
+++ b/common/server.cc
@@ -246,6 +246,18 @@
 
     }
 
+    Status GetDeviceInfo(
+            ServerContext* context,
+            const openolt::Empty* request,
+            openolt::DeviceInfo* response) override {
+
+        GetDeviceInfo_(response);
+
+        return Status::OK;
+
+    }
+
+
 
 };