2f95a27959de62e8cf2812dbce6624b4681a4bf3
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / websocketmanager / impl / src / main / yang / websocketmanager-impl.yang
1 module websocketmanager-impl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:websocketmanager:impl";
4     prefix "websocketmanager-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
9     description
10         "Service definition for websocketmanager project";
11
12     revision "2014-12-10" {
13         description
14             "Initial revision";
15     }
16     
17     identity websocketmanager {
18         base config:module-type;
19         config:java-name-prefix Websocketmanager;
20     }
21     
22     augment "/config:modules/config:module/config:configuration" {
23         case websocketmanager {
24             when "/config:modules/config:module/config:type = 'websocketmanager'";
25             container broker {
26                 uses config:service-ref {
27                     refine type {
28                         mandatory true;
29                         config:required-identity md-sal-binding:binding-broker-osgi-registry;
30                     }
31                 }
32             }
33         }
34     }
35     
36     
37 }
38