Add again mdsal-singleton but remove prefix DOM
[controller.git] / opendaylight / md-sal / sal-dom-config / src / main / yang / cluster-singleton-service-impl-cfg.yang
index 20c588c..5cd909d 100644 (file)
@@ -12,15 +12,15 @@ module cluster-singleton-service-impl {
         description "Initial revision";
     }
 
-//    identity dom-cluster-singleton-service-impl {
-//        base config:module-type;
-//        config:provided-service spi:dom-cluster-singleton-service;
-//        config:java-name-prefix DOMClusterSingletonServiceProvider;
-//    }
-//
-//    augment "/config:modules/config:module/config:configuration" {
-//        case dom-cluster-singleton-service-impl {
-//            when "/config:modules/config:module/config:type = 'dom-cluster-singleton-service-impl'";
-//        }
-//    }
+    identity cluster-singleton-service-impl {
+        base config:module-type;
+        config:provided-service spi:cluster-singleton-service;
+        config:java-name-prefix ClusterSingletonServiceProvider;
+    }
+
+    augment "/config:modules/config:module/config:configuration" {
+        case cluster-singleton-service-impl {
+            when "/config:modules/config:module/config:type = 'cluster-singleton-service-impl'";
+        }
+    }
 }