Integration with MDSAL Util
[vpnservice.git] / vpnmanager / vpnmanager-impl / src / main / yang / vpnservice-impl.yang
index 3c5fb3dd605844b151a49848e228d6e2fa855de6..b1703e2227d693432a7e3c27c52ff5d00a769d7d 100644 (file)
@@ -5,6 +5,9 @@ module vpnservice-impl {
 
     import config { prefix config; revision-date 2013-04-05; }
     import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
+    import bgpmanager-api { prefix bgpmgr-api; revision-date 2015-04-20;}
+    import odl-mdsalutil { prefix odl-mdsal; revision-date 2015-04-10;}
+    import odl-interface {prefix odlif; revision-date 2015-03-31;}
 
     description
         "Service definition for vpnservice project";
@@ -30,6 +33,30 @@ module vpnservice-impl {
                     }
                 }
             }
+            container bgpmanager {
+                uses config:service-ref {
+                    refine type {
+                        mandatory true;
+                        config:required-identity bgpmgr-api:bgpmanager-api;
+                    }
+                }
+            }
+            container mdsalutil {
+                uses config:service-ref {
+                    refine type {
+                        mandatory true;
+                        config:required-identity odl-mdsal:odl-mdsalutil;
+                    }
+                }
+            }
+            container odlinterface {
+                uses config:service-ref {
+                    refine type {
+                        mandatory true;
+                        config:required-identity odlif:odl-interface;
+                    }
+                }
+            }
         }
     }
 }