diff options
Diffstat (limited to 'sdnr/wt/mountpoint-registrar/model')
-rw-r--r-- | sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang | 85 |
1 files changed, 54 insertions, 31 deletions
diff --git a/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang b/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang index f3f97aab1..bab6da7bc 100644 --- a/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang +++ b/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang @@ -1,41 +1,64 @@ module mountpoint-registrar { - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:mountpoint-registrar"; - prefix "mountpoint-registrar"; + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:mountpoint-registrar"; + prefix mountpoint-registrar; + organization + "highstreet technologies GmbH"; + contact + "Web: <https://highstreet-technologies.com> + ONAP: <https://wiki.onap.org/display/DW/Mountpoint+services<"; + + description + "mountpoint-registrar Api Module + + Copyright 2019 highstreet technologies GmbH Intellectual Property. + All rights reserved. + + 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."; + + revision 2019-09-21 { description - "mountpoint-registrar Api Module"; + "Initial revision"; + reference + "https://jira.onap.org/browse/SDNC-1009"; + } - revision "2019-09-21" { + rpc test { + description + "Test RPC that could be used by mountpoint-registrar-provider"; + input { + leaf name { + type string; + mandatory true; + description + "name for test"; + } + leaf test-date { + type string; + mandatory true; description - "Initial revision"; + "date for the test"; + } } - - rpc test { + output { + leaf result-string { + type string; + mandatory true; description - "Test RPC that could be used by mountpoint-registrar-provider"; - input{ - leaf name { - mandatory true; - type string; - description "name for test"; - } - leaf test-date { - mandatory true; - type string; - description "date for the test"; - } - - } - output { - leaf result-string { - mandatory true; - type string; - description "Description for testing"; - } - } + "Description for testing"; + } } - + } } - |