summaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/energysavings/model
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/northbound/energysavings/model')
-rw-r--r--sdnr/northbound/energysavings/model/pom.xml58
-rw-r--r--sdnr/northbound/energysavings/model/src/main/yang/Energysavings.yang22
2 files changed, 80 insertions, 0 deletions
diff --git a/sdnr/northbound/energysavings/model/pom.xml b/sdnr/northbound/energysavings/model/pom.xml
new file mode 100644
index 000000000..d22fbfc34
--- /dev/null
+++ b/sdnr/northbound/energysavings/model/pom.xml
@@ -0,0 +1,58 @@
+<?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>
+ <groupId>org.onap.ccsdk.parent</groupId>
+ <artifactId>binding-parent</artifactId>
+ <version>1.0.5-SNAPSHOT</version>
+ <relativePath />
+ </parent>
+
+ <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
+ <artifactId>energysavings-model</artifactId>
+ <version>0.2.4-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.mdsal.model</groupId>
+ <artifactId>ietf-inet-types</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.mdsal.model</groupId>
+ <artifactId>ietf-yang-types</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <versionRange>[1.0.0,)</versionRange>
+ <goals>
+ <goal>set-system-properties</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
diff --git a/sdnr/northbound/energysavings/model/src/main/yang/Energysavings.yang b/sdnr/northbound/energysavings/model/src/main/yang/Energysavings.yang
new file mode 100644
index 000000000..572a9d432
--- /dev/null
+++ b/sdnr/northbound/energysavings/model/src/main/yang/Energysavings.yang
@@ -0,0 +1,22 @@
+module energysavings {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:energysavings";
+ prefix "energysavings";
+
+ revision "2015-01-05" {
+ description "Initial revision of energysavings model";
+ }
+
+ rpc payload {
+ input {
+ leaf payload {
+ type string;
+ }
+ }
+ output {
+ leaf result {
+ type string;
+ }
+ }
+ }
+}