SEBA-749 Initial Checkin of nem-ondemand-proxy;
Add Makefile
Add Kubernetes yaml and scripts
Change-Id: Ic76d2a68bb11a95d5d57a04f1fab373ec36c0958
diff --git a/protos/nem_ondemand_api/on_demand_api.proto b/protos/nem_ondemand_api/on_demand_api.proto
new file mode 100644
index 0000000..c28e84d
--- /dev/null
+++ b/protos/nem_ondemand_api/on_demand_api.proto
@@ -0,0 +1,53 @@
+// Copyright 2015 gRPC authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+import "google/api/annotations.proto";
+
+option java_package = "org.opencord.voltha";
+option java_outer_classname = "VolthaProto";
+option csharp_namespace = "Opencord.Voltha.Voltha";
+
+option go_package = "github.com/opencord/nem-ondemand-proxy/protos/nem_ondemand_api";
+package on_demand_api;
+
+// The greeting service definition.
+service NemService {
+ // On Demand API for Omci Test Action
+rpc OmciTest(OnuID) returns(ResponseTest) {
+ option (google.api.http) = {
+ post: "/api/v1/start_omci_test"
+ body: "*"
+ };
+}
+}
+
+
+// OnDemandTestAPi Request paramaters
+message OnuID {
+ string id = 1;
+}
+
+message ResponseTest
+{
+string result = 1;
+}
+// Omci Test Response message format
+message TestCode{
+ enum TestResponseResult {
+ SUCCESS = 0;
+ FAILURE = 1;
+ }
+ TestResponseResult result = 1;
+}