diff options
Diffstat (limited to 'sdnr/wt/mountpoint-registrar/model')
-rw-r--r-- | sdnr/wt/mountpoint-registrar/model/pom.xml | 70 | ||||
-rw-r--r-- | sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang | 41 |
2 files changed, 111 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + * ============LICENSE_START======================================================= + * ONAP : CCSDK.sdnr.wt.devicemanager.model + * ================================================================================ + * Copyright (C) 2018 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. + * ============LICENSE_END========================================================= + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.ccsdk.parent</groupId> + <artifactId>binding-parent</artifactId> + <version>1.5.1-SNAPSHOT</version> + <relativePath/> + </parent> + + <groupId>org.onap.ccsdk.features.sdnr.wt</groupId> + <artifactId>sdnr-wt-mountpoint-registrar-model</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>bundle</packaging> + + <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name> + <licenses> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0</url> + </license> + </licenses> + + <properties> + <maven.javadoc.skip>true</maven.javadoc.skip> + </properties> + + <dependencies> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/gen/**</exclude> + <exclude>**/generated-sources/**</exclude> + <exclude>**/yang-gen-sal/**</exclude> + <exclude>**/pax/**</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> +</project> 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"; + } + } + } + +} + |