SEBA-894 Added protobuf changes for on demand api service
Change-Id: Ibdd33a0be8d316645df76ac376f8994f8f811eb6
diff --git a/protos/voltha_protos/voltha.proto b/protos/voltha_protos/voltha.proto
index 8fcbb43..b8edd31 100644
--- a/protos/voltha_protos/voltha.proto
+++ b/protos/voltha_protos/voltha.proto
@@ -84,6 +84,19 @@
     repeated CoreInstance items = 1;
 }
 
+message OmciTestRequest {
+    string id = 1;
+    string uuid = 2;
+}
+
+message TestResponse{
+    enum TestResponseResult  {
+        SUCCESS = 0;
+        FAILURE = 1;
+    }
+    TestResponseResult result = 1;
+}
+
 // Voltha represents the Voltha cluster data.  Each Core instance will hold a subset of
 // the entire cluster. However, some items (e.g. adapters) will be held by all cores
 // for better performance
@@ -585,5 +598,12 @@
         };
     }
 
+    // omci start and stop cli implementation
+    rpc StartOmciTestAction(OmciTestRequest) returns(TestResponse) {
+        option (google.api.http) = {
+            post: "/api/v1/start_omci_test"
+            body: "*"
+        };
+    }
 }