Merge "Add radix trie to HashMapDb for fast IP LPM"
[lispflowmapping.git] / mappingservice / southbound / src / main / yang / odl-lisp-sb-impl.yang
1 module odl-lisp-sb-impl {
2
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:lisp-sb:impl";
5     prefix "lisp-sb-impl";
6
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 odl-lisp-sb { prefix lisp-sb; revision-date 2015-09-04; }
12
13     description
14         "This module contains the base YANG definitions for
15         mappingservice southbound plugin implementation.";
16
17     revision "2015-05-17" {
18         description
19             "Initial revision.";
20     }
21
22     identity lisp-sb-impl {
23         base config:module-type;
24         config:provided-service lisp-sb:lisp-sb;
25         config:java-name-prefix LfmMappingServiceSb;
26     }
27
28
29     // Augments the 'configuration' choice node under modules/module.
30     augment "/config:modules/config:module/config:configuration" {
31         case lisp-sb-impl {
32             when "/config:modules/config:module/config:type = 'lisp-sb-impl'";
33
34             container notification-publish-service {
35                 uses config:service-ref {
36                     refine type {
37                         mandatory true;
38                         config:required-identity sal-broker:binding-new-notification-publish-service;
39                     }
40                 }
41             }
42
43             container rpc-registry {
44                 uses config:service-ref {
45                     refine type {
46                         mandatory true;
47                         config:required-identity mdsal:binding-rpc-registry;
48                     }
49                 }
50             }
51
52             container data-broker {
53                 uses config:service-ref {
54                     refine type {
55                         mandatory true;
56                         config:required-identity mdsal:binding-async-data-broker;
57                     }
58                 }
59             }
60
61             leaf bind-address {
62                 type string;
63                 mandatory true;
64             }
65
66             leaf map-register-cache {
67                 type boolean;
68                 mandatory true;
69             }
70
71         }
72     }
73 }