Merge "JUnit for IdManager"
[vpnservice.git] / fibmanager / fibmanager-impl / src / main / yang / fibmanager-impl.yang
1 module fibmanager-impl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:fibmanager:impl";
4     prefix "fibmanager-impl";
5
6     import config { prefix config; revision-date 2013-04-05; }
7     import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
8     import odl-mdsalutil { prefix odl-mdsal; revision-date 2015-04-10;}
9     import vpnmanager-api { prefix odl-vpn; revision-date 2015-05-08;}
10
11     description
12         "Service definition for fibmanager project";
13
14     revision "2015-03-25" {
15         description
16             "Initial revision";
17     }
18
19     identity fibmanager-impl {
20         base config:module-type;
21         config:java-name-prefix FibmanagerImpl;
22     }
23
24     augment "/config:modules/config:module/config:configuration" {
25         case fibmanager-impl {
26             when "/config:modules/config:module/config:type = 'fibmanager-impl'";
27             container broker {
28                 uses config:service-ref {
29                     refine type {
30                         mandatory true;
31                         config:required-identity md-sal-binding:binding-broker-osgi-registry;
32                     }
33                 }
34             }
35             container mdsalutil {
36                 uses config:service-ref {
37                     refine type {
38                         mandatory true;
39                         config:required-identity odl-mdsal:odl-mdsalutil;
40                     }
41                 }
42             }
43             container vpnmanager {
44                 uses config:service-ref {
45                     refine type {
46                         mandatory true;
47                         config:required-identity odl-vpn:vpnmanager-api;
48                     }
49                 }
50             }
51         }
52     }
53 }