From de4fec0391bbf1d838ebc6e18f3f307dc6885319 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Tue, 17 Dec 2019 14:30:29 +0100 Subject: App mountpoint-registrar App mountpoint-registrar Issue-ID: SDNC-1009 Signed-off-by: Ravi Pendurty Change-Id: Idc40dcb2410d4d20f8d3a7943d1f810710ce7f27 --- sdnr/wt/mountpoint-registrar/model/pom.xml | 70 ++++++++++++++++++++++ .../model/src/main/yang/mountpoint-registrar.yang | 41 +++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 sdnr/wt/mountpoint-registrar/model/pom.xml create mode 100644 sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang (limited to 'sdnr/wt/mountpoint-registrar/model') diff --git a/sdnr/wt/mountpoint-registrar/model/pom.xml b/sdnr/wt/mountpoint-registrar/model/pom.xml new file mode 100644 index 000000000..4e1856484 --- /dev/null +++ b/sdnr/wt/mountpoint-registrar/model/pom.xml @@ -0,0 +1,70 @@ + + + + 4.0.0 + + + org.onap.ccsdk.parent + binding-parent + 1.5.1-SNAPSHOT + + + + org.onap.ccsdk.features.sdnr.wt + sdnr-wt-mountpoint-registrar-model + 0.7.0-SNAPSHOT + bundle + + ccsdk-features-sdnr-wt :: ${project.artifactId} + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + + + + + true + + + + + + + + + org.jacoco + jacoco-maven-plugin + + + **/gen/** + **/generated-sources/** + **/yang-gen-sal/** + **/pax/** + + + + + + 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 new file mode 100644 index 000000000..f3f97aab1 --- /dev/null +++ b/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang @@ -0,0 +1,41 @@ +module mountpoint-registrar { + + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:mountpoint-registrar"; + prefix "mountpoint-registrar"; + + description + "mountpoint-registrar Api Module"; + + revision "2019-09-21" { + description + "Initial revision"; + } + + rpc test { + 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"; + } + } + } + +} + -- cgit 1.2.3-korg