Remove mappingservice.implementation activator
[lispflowmapping.git] / mappingservice / implementation / src / main / yang / lfm-mappingservice-impl.yang
index 131ddf26593c37e0c87ef7768b355acf0b8243fc..fca8565d52d801ddadfe3fdb07b0c89ef906c8d1 100644 (file)
@@ -13,24 +13,30 @@ module lfm-mappingservice-impl {
       "This module contains the base YANG definitions for
       mappingservice implementation.";
 
-  revision "2015-05-07" {
+  revision "2015-05-17" {
       description
           "Initial revision.";
   }
 
-  // This is the definition of the service implementation as a module identity
+  // This is the definition of lfm-mappingservice interface identity.
   identity lfm-mappingservice {
+      base config:service-type;
+      config:java-class "org.opendaylight.lispflowmapping.interfaces.lisp.IFlowMapping";
+  }
+  
+  // This is the definition of the lfm-mappingservice implementation as a module identity
+  identity lfm-mappingservice-impl {
       base config:module-type;
 
       // Specifies the prefix for generated java classes.
       config:java-name-prefix LfmMappingService;
+      config:provided-service lfm-mappingservice;
   }
 
-
   // Augments the 'configuration' choice node under modules/module.
   augment "/config:modules/config:module/config:configuration" {
-    case lfm-mappingservice {
-      when "/config:modules/config:module/config:type = 'lfm-mappingservice'";
+    case lfm-mappingservice-impl {
+      when "/config:modules/config:module/config:type = 'lfm-mappingservice-impl'";
 
       //wires in the data-broker service
       container data-broker {