From: Alexis de Talhouët Date: Tue, 23 Aug 2016 22:29:28 +0000 (-0400) Subject: Move sal-remote to sal-rest-connector X-Git-Tag: release/carbon~455 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=65482327ec4e76ebce71b572ad69a648fe3ef014 Move sal-remote to sal-rest-connector This module is only used by sal-rest-connnector bundle, moreover, it is intended to create notification stream and/or register a data change event which is done using RESTCONF, thus it make sense to move it to the appropriate project. I beleive this is a leftover of the migration that happened when controller was splitted out.. This is the associated patch in Netconf project: https://git.opendaylight.org/gerrit/#/c/44575/ Change-Id: Ied4bb2b4b04d36298ca14f9f7926e4aa52de7be2 Signed-off-by: Alexis de Talhouët --- diff --git a/opendaylight/md-sal/pom.xml b/opendaylight/md-sal/pom.xml index 860c45cc9c..d00d389eb0 100644 --- a/opendaylight/md-sal/pom.xml +++ b/opendaylight/md-sal/pom.xml @@ -44,9 +44,6 @@ samples - - sal-remote - sal-connector-api diff --git a/opendaylight/md-sal/sal-remote/pom.xml b/opendaylight/md-sal/sal-remote/pom.xml deleted file mode 100644 index 17227b5a99..0000000000 --- a/opendaylight/md-sal/sal-remote/pom.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - 4.0.0 - - org.opendaylight.controller - sal-parent - 1.5.0-SNAPSHOT - - sal-remote - bundle - - - org.opendaylight.controller - sal-binding-api - - - - - - org.apache.felix - maven-bundle-plugin - true - - - org.opendaylight.yangtools - yang-maven-plugin - - - org.opendaylight.mdsal - maven-sal-api-gen-plugin - ${mdsal.model.version} - jar - - - - - sal-remote - - generate-sources - - - src/main/yang - - - org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl - ${salGeneratorPath} - - - org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl - target/site/models - - - true - - - - - - - - scm:git:http://git.opendaylight.org/gerrit/controller.git - scm:git:ssh://git.opendaylight.org:29418/controller.git - HEAD - https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL - - diff --git a/opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang b/opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang deleted file mode 100644 index d12e252711..0000000000 --- a/opendaylight/md-sal/sal-remote/src/main/yang/opendaylight-md-sal-remote.yang +++ /dev/null @@ -1,98 +0,0 @@ -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 "; - - 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