support for create/remove terminatingserviceActions
[vpnservice.git] / interfacemgr / interfacemgr-impl / src / main / yang / interfacemgr-impl.yang
1 module interfacemgr-impl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:interfacemgr:impl";
4     prefix "interfacemgr-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-interface {prefix odlif; revision-date 2015-03-31;}
9     import odl-mdsalutil { prefix odl-mdsal; revision-date 2015-04-10;}
10
11     description
12         "Service definition for interfacemgr project";
13
14     revision "2015-03-25" {
15         description
16             "Initial revision";
17     }
18
19     identity interfacemgr-impl {
20         base config:module-type;
21         config:provided-service odlif:odl-interface;
22         config:java-name-prefix InterfacemgrImpl;
23     }
24
25     augment "/config:modules/config:module/config:configuration" {
26         case interfacemgr-impl {
27             when "/config:modules/config:module/config:type = 'interfacemgr-impl'";
28             container broker {
29                 uses config:service-ref {
30                     refine type {
31                         mandatory true;
32                         config:required-identity md-sal-binding:binding-broker-osgi-registry;
33                     }
34                 }
35             }
36             container mdsalutil {
37                 uses config:service-ref {
38                     refine type {
39                         mandatory true;
40                         config:required-identity odl-mdsal:odl-mdsalutil;
41                     }
42                 }
43             }
44             container rpc-registry {
45                 uses config:service-ref {
46                     refine type {
47                         mandatory true;
48                         config:required-identity md-sal-binding:binding-rpc-registry;
49                     }
50                 }
51             }
52         }
53     }
54 }