<!-- Samples -->
<module>samples</module>
- <!-- Base Models -->
- <module>sal-remote</module>
-
<!-- Connectors -->
<module>sal-connector-api</module>
+++ /dev/null
-<?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.opendaylight.controller</groupId>
- <artifactId>sal-parent</artifactId>
- <version>1.5.0-SNAPSHOT</version>
- </parent>
- <artifactId>sal-remote</artifactId>
- <packaging>bundle</packaging>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-api</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-maven-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${mdsal.model.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>sal-remote</id>
- <goals>
- <goal>generate-sources</goal>
- </goals>
- <configuration>
- <yangFilesRootDir>src/main/yang</yangFilesRootDir>
- <codeGenerators>
- <generator>
- <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>${salGeneratorPath}</outputBaseDir>
- </generator>
- <generator>
- <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>target/site/models</outputBaseDir>
- </generator>
- </codeGenerators>
- <inspectDependencies>true</inspectDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <scm>
- <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
- <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
- <tag>HEAD</tag>
- <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
- </scm>
-</project>
+++ /dev/null
-module sal-remote {
-
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote";
- prefix "sal-remote";
-
-
- organization "Cisco Systems, Inc.";
- contact "Martin Bobak <mbobak@cisco.com>";
-
- description
- "This module contains the definition of methods related to
- sal remote model.
-
- Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
-
- This program and the accompanying materials are made available
- under the terms of the Eclipse Public License v1.0 which
- accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html";
-
- revision "2014-01-14" {
- description
- "Initial revision";
- }
-
-
- typedef q-name {
- type string;
- reference
- "http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#QName";
- }
-
- rpc create-data-change-event-subscription {
- input {
- leaf path {
- type instance-identifier;
- description "Subtree path. ";
- }
- }
- output {
- leaf stream-name {
- type string;
- description "Notification stream name.";
- }
- }
- }
-
- notification data-changed-notification {
- description "Data change notification.";
- list data-change-event {
- key path;
- leaf path {
- type instance-identifier;
- }
- leaf store {
- type enumeration {
- enum config;
- enum operation;
- }
- }
- leaf operation {
- type enumeration {
- enum created;
- enum updated;
- enum deleted;
- }
- }
- anyxml data{
- description "DataObject ";
- }
- }
- }
-
- rpc create-notification-stream {
- input {
- leaf-list notifications {
- type q-name;
- description "Notification QNames";
- }
- }
- output {
- leaf notification-stream-identifier {
- type string;
- description "Unique notification stream identifier, in which notifications will be propagated";
- }
- }
- }
-
- rpc begin-transaction{
- output{
- anyxml data-modification-transaction{
- description "DataModificationTransaction xml";
- }
- }
- }
-
-}
\ No newline at end of file