1917b475ca273d0f38ab3762540d14bc0ef62b92
[ccsdk/sli.git] /
1 package org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110;
2 import org.opendaylight.yangtools.yang.binding.DataRoot;
3
4 /**
5  * Defines API to service logic interpreter
6  *
7  * <p>This class represents the following YANG schema fragment defined in module <b>SLI-API</b>
8  * <pre>
9  * module SLI-API {
10  *     yang-version 1;
11  *     namespace "org:onap:ccsdk:sli:core:sliapi";
12  *     prefix "sample";
13  *
14  *     import ietf-inet-types { prefix "inet"; }
15  *     revision 2016-11-10 {
16  *         description "Defines API to service logic interpreter
17  *         ";
18  *     }
19  *
20  *     container test-results {
21  *         list test-result {
22  *             key "test-identifier"
23  *             leaf test-identifier {
24  *                 type string;
25  *             }
26  *             leaf-list results {
27  *                 type string;
28  *             }
29  *         }
30  *     }
31  *
32  *     grouping response-fields {
33  *         leaf response-code {
34  *             type string;
35  *         }
36  *         leaf ack-final-indicator {
37  *             type string;
38  *         }
39  *         leaf response-message {
40  *             type string;
41  *         }
42  *         leaf context-memory-json {
43  *             type string;
44  *         }
45  *     }
46  *     grouping parameter-setting {
47  *         leaf parameter-name {
48  *             type string;
49  *         }
50  *         leaf int-value {
51  *             type int32;
52  *         }
53  *         leaf string-value {
54  *             type string;
55  *         }
56  *         leaf boolean-value {
57  *             type boolean;
58  *         }
59  *     }
60  *
61  *     rpc healthcheck {
62  *         input {
63  *         }
64  *         
65  *         output {
66  *             leaf response-code {
67  *                 type string;
68  *             }
69  *             leaf ack-final-indicator {
70  *                 type string;
71  *             }
72  *             leaf response-message {
73  *                 type string;
74  *             }
75  *             leaf context-memory-json {
76  *                 type string;
77  *             }
78  *         }
79  *     }
80  *     rpc execute-graph {
81  *         " Method to add a new parameter.";
82  *         input {
83  *             leaf module-name {
84  *                 type string;
85  *             }
86  *             leaf rpc-name {
87  *                 type string;
88  *             }
89  *             leaf mode {
90  *                 type enumeration;
91  *             }
92  *             list sli-parameter {
93  *                 key "parameter-name"
94  *                 leaf parameter-name {
95  *                     type string;
96  *                 }
97  *                 leaf int-value {
98  *                     type int32;
99  *                 }
100  *                 leaf string-value {
101  *                     type string;
102  *                 }
103  *                 leaf boolean-value {
104  *                     type boolean;
105  *                 }
106  *                 uses parameter-setting;
107  *             }
108  *         }
109  *         
110  *         output {
111  *             leaf response-code {
112  *                 type string;
113  *             }
114  *             leaf ack-final-indicator {
115  *                 type string;
116  *             }
117  *             leaf response-message {
118  *                 type string;
119  *             }
120  *             leaf context-memory-json {
121  *                 type string;
122  *             }
123  *         }
124  *     }
125  * }
126  * </pre>
127  *
128  */
129 public interface SLIAPIData
130     extends
131     DataRoot
132 {
133
134
135
136
137     /**
138      * Test results
139      *
140      *
141      *
142      * @return <code>org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.TestResults</code> <code>testResults</code>, or <code>null</code> if not present
143      */
144     TestResults getTestResults();
145
146 }
147