Wired ClusteredDataStore with Configuration Subsytem
[controller.git] / opendaylight / md-sal / clustered-data-store / implementation / src / main / yang / odl-sal-dom-clustered-store-cfg.yang
diff --git a/opendaylight/md-sal/clustered-data-store/implementation/src/main/yang/odl-sal-dom-clustered-store-cfg.yang b/opendaylight/md-sal/clustered-data-store/implementation/src/main/yang/odl-sal-dom-clustered-store-cfg.yang
new file mode 100644 (file)
index 0000000..95a26d7
--- /dev/null
@@ -0,0 +1,29 @@
+module odl-sal-dom-clustered-store-cfg {
+       yang-version 1;
+    namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:cluster:store";
+    prefix "binding-impl";
+
+       import config { prefix config; revision-date 2013-04-05; }
+       import opendaylight-md-sal-dom {prefix sal;}
+
+    description
+        "Service definition for MD-SAL Clustered Store.";
+    revision "2013-10-28" {
+        description
+            "Initial revision";
+    }
+
+    identity dom-clustered-store-impl {
+        base config:module-type;
+        config:provided-service sal:dom-data-store;
+        config:java-name-prefix ClusteredDataStoreImpl;
+    }
+
+    augment "/config:modules/config:module/config:state" {
+        case dom-clustered-store-impl {
+            when "/config:modules/config:module/config:type = 'dom-clustered-store-impl'";
+        }
+    }
+    
+}
\ No newline at end of file