Merge "Authentication to southbound"
[lispflowmapping.git] / mappingservice / southbound / src / main / yang / odl-lisp-sb-impl.yang
index 830d19cb8789a91f71b2fdc095cbb9cf96386964..893c9e19c6ff5bd1ef31f6e57ce79b7d860aa958 100644 (file)
@@ -9,6 +9,7 @@ module odl-lisp-sb-impl {
   import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
   import opendaylight-sal-binding-broker-impl { prefix sal-broker; revision-date 2013-10-28; }
   import odl-lisp-sb { prefix lisp-sb; revision-date 2015-09-04; }
+  import odl-mappingservice-dao { prefix ms-dao; revision-date 2015-10-07; }
 
   description
       "This module contains the base YANG definitions for
@@ -31,15 +32,6 @@ module odl-lisp-sb-impl {
     case lisp-sb-impl {
       when "/config:modules/config:module/config:type = 'lisp-sb-impl'";
 
-      container broker {
-          uses config:service-ref {
-              refine type {
-                  mandatory true;
-                  config:required-identity mdsal:binding-broker-osgi-registry;
-              }
-          }
-      }
-
       container notification-publish-service {
           uses config:service-ref {
               refine type {
@@ -57,6 +49,16 @@ module odl-lisp-sb-impl {
           }
         }
       }
+
+      container data-broker {
+          uses config:service-ref {
+              refine type {
+                  mandatory true;
+                  config:required-identity mdsal:binding-async-data-broker;
+              }
+          }
+      }
+
     }
   }
 }