aboutsummaryrefslogtreecommitdiffstats
path: root/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-02 15:48:23 -0400
committerDan Timoney <dtimoney@att.com>2017-10-02 15:48:23 -0400
commit2a7f6affcecfcd2a7f9db3731884699f1bacff1c (patch)
tree01deb47b62eb1144f6993cddf258bcb0baa0143d /sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java
parentbbf0e9ff14d10f46235d4282dce5b9c560f26321 (diff)
Add test cases for MdsalHelper
Add test cases for MdsalHelper methods toBuilder() and toProperties(). This requires a Yang model, so added a copy of sliapi/model to sli, since could not use sliapi directly otherwise would create circular dependency (since sliapi depends on sli). Change-Id: I4824afe250f93428c73dbeec9f4a4c36ee4f76e6 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java')
-rw-r--r--sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java93
1 files changed, 93 insertions, 0 deletions
diff --git a/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java b/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java
new file mode 100644
index 00000000..3ad03f6f
--- /dev/null
+++ b/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/SLIAPIService.java
@@ -0,0 +1,93 @@
+package org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110;
+import org.opendaylight.yangtools.yang.binding.RpcService;
+import org.opendaylight.yangtools.yang.common.RpcResult;
+import java.util.concurrent.Future;
+
+/**
+ * Interface for implementing the following YANG RPCs defined in module <b>SLI-API</b>
+ * <pre>
+ * rpc healthcheck {
+ * input {
+ * }
+ *
+ * output {
+ * leaf response-code {
+ * type string;
+ * }
+ * leaf ack-final-indicator {
+ * type string;
+ * }
+ * leaf response-message {
+ * type string;
+ * }
+ * leaf context-memory-json {
+ * type string;
+ * }
+ * }
+ * }
+ * rpc execute-graph {
+ * " Method to add a new parameter.";
+ * input {
+ * leaf module-name {
+ * type string;
+ * }
+ * leaf rpc-name {
+ * type string;
+ * }
+ * leaf mode {
+ * type enumeration;
+ * }
+ * list sli-parameter {
+ * key "parameter-name"
+ * leaf parameter-name {
+ * type string;
+ * }
+ * leaf int-value {
+ * type int32;
+ * }
+ * leaf string-value {
+ * type string;
+ * }
+ * leaf boolean-value {
+ * type boolean;
+ * }
+ * uses parameter-setting;
+ * }
+ * }
+ *
+ * output {
+ * leaf response-code {
+ * type string;
+ * }
+ * leaf ack-final-indicator {
+ * type string;
+ * }
+ * leaf response-message {
+ * type string;
+ * }
+ * leaf context-memory-json {
+ * type string;
+ * }
+ * }
+ * }
+ * </pre>
+ *
+ */
+public interface SLIAPIService
+ extends
+ RpcService
+{
+
+
+
+
+ Future<RpcResult<HealthcheckOutput>> healthcheck();
+
+ /**
+ * Method to add a new parameter.
+ *
+ */
+ Future<RpcResult<ExecuteGraphOutput>> executeGraph(ExecuteGraphInput input);
+
+}
+