"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 {