Remove opendaylight directory
[netconf.git] / netconf / netconf-mapping-api / src / main / yang / netconf-northbound-mapper.yang
diff --git a/netconf/netconf-mapping-api/src/main/yang/netconf-northbound-mapper.yang b/netconf/netconf-mapping-api/src/main/yang/netconf-northbound-mapper.yang
new file mode 100644 (file)
index 0000000..b4ec7ec
--- /dev/null
@@ -0,0 +1,27 @@
+module netconf-northbound-mapper {
+    yang-version 1;
+    namespace "urn:opendaylight:params:xml:ns:yang:controller:netconf:north:mapper";
+    prefix "nnm";
+
+    import config { prefix config; revision-date 2013-04-05; }
+
+    description
+        "This module contains the base YANG definitions for
+         mapping services plugged into a netconf northbound server";
+
+    revision "2015-01-14" {
+        description
+            "Initial revision.";
+    }
+
+    identity netconf-northbound-mapper {
+        base "config:service-type";
+        config:java-class "org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactory";
+    }
+
+    identity netconf-mapper-registry {
+        base "config:service-type";
+        config:java-class "org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactoryListener";
+    }
+
+}
\ No newline at end of file