1 module mappingservice-impl {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:lfm:mappingservice:impl";
5 prefix "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; }
10 import opendaylight-sal-binding-broker-impl { prefix sal-broker; revision-date 2013-10-28; }
11 import mappingservice { prefix mappingservice; revision-date 2015-09-06; }
12 import mappingservice-dao { prefix ms-dao; revision-date 2015-10-07; }
15 "This module contains the base YANG definitions for
16 mappingservice implementation.";
18 revision "2015-09-06" {
23 // This is the definition of the mappingservice implementation as a module identity
24 identity mappingservice-impl {
25 base config:module-type;
26 config:java-name-prefix MappingService;
27 config:provided-service mappingservice:mappingservice;
30 identity lisp-mappingservice-impl {
31 base config:module-type;
32 config:java-name-prefix LispMappingService;
33 config:provided-service mappingservice:lisp-mappingservice;
36 // Augments the 'configuration' choice node under modules/module.
37 augment "/config:modules/config:module/config:configuration" {
38 case mappingservice-impl {
39 when "/config:modules/config:module/config:type = '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;
51 uses config:service-ref {
54 config:required-identity mdsal:binding-broker-osgi-registry;
58 container rpc-registry {
59 uses config:service-ref {
62 config:required-identity mdsal:binding-rpc-registry;
67 uses config:service-ref {
70 config:required-identity ms-dao:mappingservice-dao;
74 container notification-publish-service {
75 uses config:service-ref {
78 config:required-identity sal-broker:binding-new-notification-publish-service;
83 case lisp-mappingservice-impl {
84 when "/config:modules/config:module/config:type = 'lisp-mappingservice-impl'";
85 container osgi-broker {
86 uses config:service-ref {
89 config:required-identity mdsal:binding-broker-osgi-registry;
93 container notification-service {
94 uses config:service-ref {
97 config:required-identity sal-broker:binding-new-notification-service;
101 container mappingservice {
102 uses config:service-ref {
105 config:required-identity mappingservice:mappingservice;