aboutsummaryrefslogtreecommitdiffstats
path: root/sliapi/model
diff options
context:
space:
mode:
Diffstat (limited to 'sliapi/model')
-rw-r--r--sliapi/model/pom.xml79
-rw-r--r--sliapi/model/src/main/yang/sliapi.yang111
2 files changed, 0 insertions, 190 deletions
diff --git a/sliapi/model/pom.xml b/sliapi/model/pom.xml
deleted file mode 100644
index 793aba8..0000000
--- a/sliapi/model/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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>
- <artifactId>sliapi</artifactId>
- <groupId>org.openecomp.sdnc.core</groupId>
- <version>1.1.2-SNAPSHOT</version>
- </parent>
- <artifactId>sliapi-model</artifactId>
- <packaging>bundle</packaging>
-
- <build>
-
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Import-Package>*</Import-Package>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-maven-plugin</artifactId>
- <version>${odl.yangtools.yang.maven.plugin.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${odl.sal.api.gen.plugin.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <goals>
- <goal>generate-sources</goal>
- </goals>
- <configuration>
- <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
- <codeGenerators>
- <generator>
- <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>${salGeneratorPath}</outputBaseDir>
- </generator>
- </codeGenerators>
- <inspectDependencies>true</inspectDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>yang-binding</artifactId>
- <version>${odl.mdsal.yang.binding.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-common</artifactId>
- <version>${odl.yangtools.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-inet-types</artifactId>
- <version>${odl.ietf-inet-types.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-yang-types</artifactId>
- <version>${odl.ietf-yang-types.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/sliapi/model/src/main/yang/sliapi.yang b/sliapi/model/src/main/yang/sliapi.yang
deleted file mode 100644
index 047fd69..0000000
--- a/sliapi/model/src/main/yang/sliapi.yang
+++ /dev/null
@@ -1,111 +0,0 @@
-module SLI-API {
-
- yang-version 1;
-
- namespace "org:openecomp:sdnc:sliapi";
-
- prefix sample;
-
- import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; }
-
- organization "openECOMP";
-
- contact
- "Dan Timoney";
-
- description
- "Defines API to service logic interpreter";
-
- revision "2016-11-10" {
- description
- "REST API to Service Logic Interpreter";
- }
-
- grouping parameter-setting {
- description
- "Parameter setting";
-
- leaf parameter-name {
- type string;
- description "Parameter name";
- }
-
- leaf int-value {
- type int32;
- }
- leaf string-value {
- type string;
- }
- leaf boolean-value {
- type boolean;
- }
- }
-
- grouping response-fields {
- leaf response-code {
- type string;
- }
- leaf ack-final-indicator {
- type string;
- }
- leaf response-message {
- type string;
- }
- leaf context-memory-json {
- type string;
- }
- }
-
- container test-results {
- description "Test results";
-
- list test-result {
- key "test-identifier";
-
- leaf test-identifier {
- type string;
- }
-
- leaf-list results {
- type string;
- }
- }
- }
-
- rpc execute-graph {
- description " Method to add a new parameter.";
- input {
-
- leaf module-name {
- type string;
- }
-
- leaf rpc-name {
- type string;
- }
-
- leaf mode {
- type enumeration {
- enum sync;
- enum async;
- }
- }
-
- list sli-parameter {
- key "parameter-name";
- uses parameter-setting;
- }
- }
-
- output {
- uses response-fields;
- }
- }
-
- rpc healthcheck {
- output {
- uses response-fields;
- }
- }
-
-}