1 module lfm-mappingservice-impl {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:lfm-mappingservice:impl";
5 prefix "lfm-mappingservice-impl";
7 import config { prefix config; revision-date 2013-04-05; }
8 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
9 import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
13 "This module contains the base YANG definitions for
14 mappingservice implementation.";
16 revision "2015-05-17" {
21 // This is the definition of lfm-mappingservice interface identity.
22 identity lfm-mappingservice {
23 base config:service-type;
24 config:java-class "org.opendaylight.lispflowmapping.interfaces.lisp.IFlowMapping";
27 // This is the definition of the lfm-mappingservice implementation as a module identity
28 identity lfm-mappingservice-impl {
29 base config:module-type;
31 // Specifies the prefix for generated java classes.
32 config:java-name-prefix LfmMappingService;
33 config:provided-service lfm-mappingservice;
36 // Augments the 'configuration' choice node under modules/module.
37 augment "/config:modules/config:module/config:configuration" {
38 case lfm-mappingservice-impl {
39 when "/config:modules/config:module/config:type = 'lfm-mappingservice-impl'";
41 //wires in the data-broker service
42 container data-broker {
43 uses config:service-ref {
46 config:required-identity mdsal:binding-async-data-broker;
52 uses config:service-ref {
55 config:required-identity mdsal:binding-broker-osgi-registry;
60 container rpc-registry {
61 uses config:service-ref {
64 config:required-identity mdsal:binding-rpc-registry;